@font-face {
  font-family: "TWK Lausanne";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./design-assets/ff771c44-ae76-42f6-a416-d2f0bdccc770.woff2") format("woff2");
}

@font-face {
  font-family: "TWK Lausanne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./design-assets/95e04d34-4364-42df-8678-92484f1daa30.woff2") format("woff2");
}

@font-face {
  font-family: "TWK Lausanne";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./design-assets/613e42d2-3499-47b1-8987-52291bf02e80.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./design-assets/7be86626-b0a7-45d7-a61d-f8ae81f4c189.ttf") format("truetype");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./design-assets/ad95416d-3721-439c-96f8-f9552d764280.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html {
  background: #f6f4ef;
  color: #161310;
  font-family: "TWK Lausanne", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f6f4ef;
}

body.lg-search-open {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.lg-root {
  --bg: #080808;
  --line: rgb(24, 24, 24);
  --line-soft: rgb(18, 18, 18);
  --line-strong: rgb(38, 38, 38);
  --fg: #fff;
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-64: rgba(255, 255, 255, 0.64);
  --fg-60: rgba(255, 255, 255, 0.6);
  --fg-55: rgba(255, 255, 255, 0.62);
  --fg-48: rgba(255, 255, 255, 0.56);
  --fg-40: rgba(255, 255, 255, 0.52);
  --fg-30: rgba(255, 255, 255, 0.42);
  --surface-01: rgba(255, 255, 255, 0.01);
  --surface-02: rgba(255, 255, 255, 0.02);
  --surface-03: rgba(255, 255, 255, 0.03);
  --surface-06: rgba(255, 255, 255, 0.06);
  --cyan: rgb(45, 238, 245);
  --cyan-04: rgba(45, 238, 245, 0.04);
  --cyan-08: rgba(45, 238, 245, 0.08);
  --cyan-12: rgba(45, 238, 245, 0.12);
  --cyan-30: rgba(45, 238, 245, 0.3);
  --cyan-45: rgba(45, 238, 245, 0.45);
  --ph-amber: rgb(224, 176, 84);
  --ph-amber-12: rgba(224, 176, 84, 0.14);
  --ph-amber-glow: rgba(224, 176, 84, 0.28);
  --ph-green: rgb(72, 203, 137);
  --ph-green-12: rgba(72, 203, 137, 0.14);
  --ph-green-glow: rgba(72, 203, 137, 0.24);
  --ph-slate: rgb(142, 158, 174);
  --ph-slate-12: rgba(142, 158, 174, 0.14);
  --ph-slate-glow: rgba(142, 158, 174, 0.24);
  --primary-bg: #fff;
  --primary-fg: #080808;
  --nav-bg: rgba(8, 8, 8, 0.88);
  --button-radius: 999px;
  --button-page-height: 52px;
  --button-page-pad-x: 28px;
  --button-page-font: 15px;
  --button-header-height: 42px;
  --button-header-pad-x: 22px;
  --button-header-font: 14px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

.lg-root[data-theme="light"] {
  --bg: #f6f4ef;
  --line: #e4e0d6;
  --line-soft: #ece9e1;
  --line-strong: #d2ccbe;
  --fg: #161310;
  --fg-70: rgba(22, 19, 16, 0.8);
  --fg-64: rgba(22, 19, 16, 0.68);
  --fg-60: rgba(22, 19, 16, 0.64);
  --fg-55: rgba(22, 19, 16, 0.68);
  --fg-48: rgba(22, 19, 16, 0.64);
  --fg-40: rgba(22, 19, 16, 0.6);
  --fg-30: rgba(22, 19, 16, 0.48);
  --surface-01: rgba(22, 19, 16, 0.02);
  --surface-02: rgba(22, 19, 16, 0.035);
  --surface-03: rgba(22, 19, 16, 0.05);
  --surface-06: rgba(22, 19, 16, 0.08);
  --cyan: #377a84;
  --cyan-04: rgba(55, 122, 132, 0.04);
  --cyan-08: rgba(55, 122, 132, 0.08);
  --cyan-12: rgba(55, 122, 132, 0.12);
  --cyan-30: rgba(55, 122, 132, 0.3);
  --cyan-45: rgba(55, 122, 132, 0.45);
  --ph-amber: rgb(166, 108, 16);
  --ph-amber-12: rgba(166, 108, 16, 0.12);
  --ph-amber-glow: rgba(166, 108, 16, 0.26);
  --ph-green: rgb(28, 138, 84);
  --ph-green-12: rgba(28, 138, 84, 0.12);
  --ph-green-glow: rgba(28, 138, 84, 0.24);
  --ph-slate: rgb(92, 110, 128);
  --ph-slate-12: rgba(92, 110, 128, 0.12);
  --ph-slate-glow: rgba(92, 110, 128, 0.24);
  --primary-bg: #161310;
  --primary-fg: #f6f4ef;
  --nav-bg: rgba(246, 244, 239, 0.9);
}

.gl-root {
  --bg: #080808;
  --line: rgb(24, 24, 24);
  --line-soft: rgb(18, 18, 18);
  --line-soft2: rgb(20, 20, 20);
  --line-strong: rgb(38, 38, 38);
  --line-kbd: rgb(34, 34, 34);
  --fg: #fff;
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-64: rgba(255, 255, 255, 0.64);
  --fg-62: rgba(255, 255, 255, 0.62);
  --fg-60: rgba(255, 255, 255, 0.6);
  --fg-55: rgba(255, 255, 255, 0.62);
  --fg-50: rgba(255, 255, 255, 0.58);
  --fg-48: rgba(255, 255, 255, 0.56);
  --fg-40: rgba(255, 255, 255, 0.52);
  --fg-32: rgba(255, 255, 255, 0.32);
  --fg-30: rgba(255, 255, 255, 0.3);
  --fg-22: rgba(255, 255, 255, 0.22);
  --surf-006: rgba(255, 255, 255, 0.006);
  --surf-008: rgba(255, 255, 255, 0.008);
  --surf-01: rgba(255, 255, 255, 0.01);
  --surf-012: rgba(255, 255, 255, 0.012);
  --surf-018: rgba(255, 255, 255, 0.018);
  --surf-02: rgba(255, 255, 255, 0.02);
  --surf-03: rgba(255, 255, 255, 0.03);
  --surf-06: rgba(255, 255, 255, 0.06);
  --surf-08: rgba(255, 255, 255, 0.08);
  --cyan: rgb(45, 238, 245);
  --cy-03: rgba(45, 238, 245, 0.03);
  --cy-04: rgba(45, 238, 245, 0.04);
  --cy-05: rgba(45, 238, 245, 0.05);
  --cy-06: rgba(45, 238, 245, 0.06);
  --cy-08: rgba(45, 238, 245, 0.08);
  --cy-12: rgba(45, 238, 245, 0.12);
  --cy-25: rgba(45, 238, 245, 0.25);
  --cy-30: rgba(45, 238, 245, 0.3);
  --cy-35: rgba(45, 238, 245, 0.35);
  --cy-40: rgba(45, 238, 245, 0.4);
  --cy-60: rgba(45, 238, 245, 0.6);
  --cy-70: rgba(45, 238, 245, 0.7);
  --prim-bg: #fff;
  --prim-fg: #080808;
  --nav-bg: rgba(8, 8, 8, 0.88);
  --bar-bg: rgba(8, 8, 8, 0.94);
  --scrim: rgba(4, 4, 4, 0.72);
  --serif: "Newsreader", Georgia, serif;
}

.gl-root[data-theme="light"] {
  --bg: #f6f4ef;
  --line: #e4e0d6;
  --line-soft: #ece9e1;
  --line-soft2: #eae6dd;
  --line-strong: #d2ccbe;
  --line-kbd: #d6d0c2;
  --fg: #161310;
  --fg-70: rgba(22, 19, 16, 0.8);
  --fg-64: rgba(22, 19, 16, 0.68);
  --fg-62: rgba(22, 19, 16, 0.66);
  --fg-60: rgba(22, 19, 16, 0.64);
  --fg-55: rgba(22, 19, 16, 0.68);
  --fg-50: rgba(22, 19, 16, 0.66);
  --fg-48: rgba(22, 19, 16, 0.64);
  --fg-40: rgba(22, 19, 16, 0.6);
  --fg-32: rgba(22, 19, 16, 0.52);
  --fg-30: rgba(22, 19, 16, 0.48);
  --fg-22: rgba(22, 19, 16, 0.3);
  --surf-006: rgba(22, 19, 16, 0.012);
  --surf-008: rgba(22, 19, 16, 0.016);
  --surf-01: rgba(22, 19, 16, 0.02);
  --surf-012: rgba(22, 19, 16, 0.024);
  --surf-018: rgba(22, 19, 16, 0.032);
  --surf-02: rgba(22, 19, 16, 0.034);
  --surf-03: rgba(22, 19, 16, 0.045);
  --surf-06: rgba(22, 19, 16, 0.06);
  --surf-08: rgba(22, 19, 16, 0.09);
  --cyan: rgb(8, 124, 134);
  --cy-03: rgba(8, 124, 134, 0.05);
  --cy-04: rgba(8, 124, 134, 0.06);
  --cy-05: rgba(8, 124, 134, 0.07);
  --cy-06: rgba(8, 124, 134, 0.08);
  --cy-08: rgba(8, 124, 134, 0.1);
  --cy-12: rgba(8, 124, 134, 0.14);
  --cy-25: rgba(8, 124, 134, 0.22);
  --cy-30: rgba(8, 124, 134, 0.26);
  --cy-35: rgba(8, 124, 134, 0.3);
  --cy-40: rgba(8, 124, 134, 0.34);
  --cy-60: rgba(8, 124, 134, 0.46);
  --cy-70: rgba(8, 124, 134, 0.52);
  --prim-bg: #161310;
  --prim-fg: #f6f4ef;
  --nav-bg: rgba(246, 244, 239, 0.9);
  --bar-bg: rgba(246, 244, 239, 0.95);
  --scrim: rgba(28, 24, 18, 0.4);
}

.gl-root[data-theme="light"] .gl-logo:not(.gl-learn-lockup) {
  filter: brightness(0) opacity(0.82);
}

.gl-ico-moon {
  display: none;
}

.gl-root[data-theme="light"] .gl-ico-sun {
  display: none;
}

.gl-root[data-theme="light"] .gl-ico-moon {
  display: block;
}

.gl-themebtn:hover {
  background: var(--surf-06) !important;
  border-color: var(--line-strong) !important;
}

.gl-root.gl-notrans,
.gl-root.gl-notrans * {
  transition: none !important;
}

@keyframes glFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

.gl-fade {
  animation: glFade 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.gl-link {
  transition: color 0.18s ease;
  cursor: pointer;
}

.gl-link:hover {
  color: var(--fg) !important;
}

.gl-pill {
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, color 0.18s ease;
}

.gl-pill:active {
  transform: scale(0.97);
}

.gl-prim:hover {
  background: var(--cyan) !important;
  color: var(--prim-fg) !important;
  box-shadow: 0 0 24px var(--cy-40);
}

.gl-ghost:hover {
  background: var(--surf-06) !important;
  border-color: var(--cyan) !important;
}

.gl-chip {
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.gl-chip:hover {
  border-color: var(--line-strong) !important;
  color: var(--fg) !important;
}

.gl-az {
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border-radius: 6px;
}

.gl-az:hover {
  background: var(--surf-06) !important;
  color: var(--fg) !important;
}

.gl-term {
  position: relative;
  transition: background 0.18s ease;
}

.gl-term::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cy-60);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.gl-term:hover {
  background: var(--surf-012);
}

.gl-term:hover::before {
  transform: scaleY(1);
}

.gl-see {
  transition: color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.gl-see:hover {
  color: var(--cyan) !important;
  border-color: var(--cy-35) !important;
}

.gl-guide {
  transition: color 0.15s ease;
  cursor: pointer;
}

.gl-guide:hover {
  color: var(--fg) !important;
}

.gl-guide:hover .gl-guidearr {
  transform: translate(2px, -2px);
}

input.gl-input::placeholder {
  color: var(--fg-32);
}

input.gl-input:focus,
input.gl-input:focus-visible {
  outline: none;
}

.gl-search-field {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gl-search-field:focus-within {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 1px var(--cyan);
}

.gl-root a:focus-visible,
.gl-root button:focus-visible,
.gl-root [role="button"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 10px;
}

.lg-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 2px;
  background: transparent;
}

.lg-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan-45);
}

.lg-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.lg-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1320px;
  height: 64px;
  margin: 0 auto;
  padding: 0 32px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.lg-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 128px;
  min-width: 128px;
  height: 32px;
  text-decoration: none;
}

.lg-wordmark::after {
  content: "";
  display: none;
}

.lg-wordmark img,
.lg-logo {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.lg-mobile-brand-label {
  display: none;
}

.lg-nav-links,
.lg-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lg-nav-links {
  height: 30px;
}

.lg-nav-links a,
.lg-nav-links button,
.lg-help {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--fg-64);
  font-size: 13px;
  line-height: 15px;
}

.lg-nav-links a,
.lg-nav-links button {
  height: 30px;
}

.lg-nav-links .is-active {
  color: var(--cyan);
  font-family: "TWK Lausanne", Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.lg-nav-actions {
  justify-content: flex-end;
  gap: 10px;
  width: 458px;
  flex: none;
}

.lg-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 142px;
  min-width: 142px;
  height: var(--button-header-height);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface-03);
  color: var(--fg-55);
  font-size: var(--button-header-font);
}

.lg-search-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: none;
  color: currentColor;
}

.lg-search-trigger kbd {
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}

.lg-command-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: min(15vh, 168px) 16px 24px;
  background: rgba(22, 20, 16, 0.42);
  backdrop-filter: blur(11px) saturate(0.9);
  -webkit-backdrop-filter: blur(11px) saturate(0.9);
}

.lg-command-panel {
  width: min(720px, calc(100vw - 32px));
  max-height: min(82dvh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 96%, white 4%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 10px 30px rgba(0, 0, 0, 0.18);
}

.lg-command-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.lg-command-head .lg-search-icon {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.lg-command-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  font-size: 19px;
  font-weight: 400;
}

.lg-command-input::placeholder {
  color: var(--fg-48);
}

.lg-command-esc {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.lg-command-results {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 10px;
}

.lg-command-suggested,
.lg-command-label {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lg-command-suggested {
  height: 36px;
  border-bottom-color: var(--line);
}

.lg-command-row {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  color: var(--fg);
  text-align: left;
  border-left: 3px solid transparent;
}

.lg-command-row:hover,
.lg-command-row.is-active {
  background: var(--surface-06);
  border-left-color: var(--cyan);
}

.lg-command-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 24px;
  border: 1px solid var(--cyan-30);
  border-radius: 6px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.lg-command-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.lg-command-copy strong {
  overflow: hidden;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-command-copy em,
.lg-command-copy small {
  overflow: hidden;
  color: var(--fg-64);
  font-style: normal;
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-command-copy small {
  color: var(--fg-55);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.lg-command-arrow {
  color: var(--cyan);
  font-size: 18px;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.lg-command-row:hover .lg-command-arrow,
.lg-command-row.is-active .lg-command-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.lg-command-empty {
  padding: 46px 24px 54px;
  color: var(--fg-55);
  text-align: center;
  font-size: 15px;
}

.lg-command-footer {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lg-command-footer strong {
  margin-left: auto;
  color: var(--cyan);
  font-weight: 400;
}

.lg-icon-button {
  display: grid;
  place-items: center;
  width: var(--button-header-height);
  height: var(--button-header-height);
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--surface-03);
  color: var(--fg-64);
}

.lg-demo,
.lg-primary,
.lg-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-page-height);
  min-height: var(--button-page-height);
  padding: 0 var(--button-page-pad-x);
  border-radius: var(--button-radius);
  text-decoration: none;
  font-size: var(--button-page-font);
  line-height: 1;
  white-space: nowrap;
}

.lg-demo {
  width: auto;
  min-width: 138px;
  height: var(--button-header-height);
  min-height: var(--button-header-height);
  padding: 0 var(--button-header-pad-x);
  flex: none;
  font-size: var(--button-header-font);
}

.lg-demo,
.lg-primary {
  background: var(--primary-bg);
  color: var(--primary-fg);
  font-weight: 500;
}

.lg-demo::after,
.lg-primary::after {
  content: "↗";
  margin-left: 8px;
  font-size: 13px;
  line-height: 1;
}

.lg-secondary {
  border: 1px solid var(--line);
  background: var(--surface-03);
  color: var(--fg-70);
}

.lg-primary:hover,
.lg-demo:hover {
  box-shadow: 0 0 22px var(--cyan-30);
}

main,
.lg-footer {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  max-width: 1320px;
  margin: 0 auto;
}

.lg-hero {
  position: relative;
  min-height: 635px;
  padding: 124px 56px 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.lg-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  min-height: 356px;
  padding: 92px 56px 58px;
  border-bottom: 1px solid var(--line);
}

.lg-page-hero .lg-section-num {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.lg-page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.lg-page-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--fg-64);
  font-size: 17px;
  line-height: 1.68;
}

.lg-hero-glow {
  position: absolute;
  top: 56px;
  left: 38%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 238, 245, 0.13), transparent 67%);
  filter: blur(26px);
  pointer-events: none;
}

.lg-root[data-theme="light"] .lg-hero-glow {
  background: radial-gradient(circle, rgba(55, 122, 132, 0.1), transparent 67%);
}

.lg-pill,
.lg-section-num,
.lg-filter-label,
.lg-guide-topic,
.lg-path-count,
.lg-path-foot,
.lg-path-banner-label,
.lg-path-banner-meta,
.lg-path-art-label,
.lg-guide-meta,
.lg-footer span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lg-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-03);
  color: var(--fg-48);
  font-size: 10px;
}

.lg-pill::before,
.lg-section-num::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.lg-section-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 10px;
}

.lg-hero h1,
.lg-section h2,
.lg-featured h2,
.lg-final h2,
.lg-newsletter h2,
.lg-dialog h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.lg-hero h1 {
  position: relative;
  max-width: 860px;
  font-size: 58px;
  line-height: 0.96;
}

.lg-hero p {
  position: relative;
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--fg-64);
  font-size: 17px;
  line-height: 1.72;
}

.lg-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.lg-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lg-stats strong {
  color: var(--cyan);
  font-weight: 400;
}

.lg-section {
  border-bottom: 1px solid var(--line);
}

.lg-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 72px;
  padding: 74px 56px 48px;
}

.lg-section-head > .lg-primary,
.lg-section-head > .lg-secondary {
  align-self: center;
  justify-self: end;
  width: max-content;
  min-width: 0;
}

.lg-section-head h2 {
  font-size: 39px;
  line-height: 1.08;
}

.lg-section-head p,
.lg-feature-copy p,
.lg-newsletter p,
.lg-final p,
.lg-dialog p {
  margin: 0;
  color: var(--fg-64);
  font-size: 15px;
  line-height: 1.72;
}

.lg-path-grid,
.lg-proof-grid,
.lg-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg-path-card {
  position: relative;
  display: grid;
  min-height: 292px;
  padding: 34px 32px 27px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  background: linear-gradient(180deg, var(--surface-01), transparent);
  text-decoration: none;
}

.lg-path-card:nth-child(3n) {
  border-right: 0;
}

.lg-path-card:hover,
.lg-guide:hover,
.lg-term:hover {
  background: var(--surface-03);
}

.lg-path-icon,
.lg-proof-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--cyan);
}

.lg-path-icon svg,
.lg-proof-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lg-path-count {
  position: absolute;
  top: 42px;
  right: 32px;
  color: var(--fg-40);
  font-size: 10px;
}

.lg-path-name {
  align-self: end;
  margin-top: 54px;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.lg-path-blurb {
  margin-top: 14px;
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.58;
}

.lg-path-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  color: var(--fg-40);
  font-size: 10px;
}

.lg-path-foot span:last-child {
  color: var(--cyan);
}

.lg-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  margin: 64px 56px;
  padding: 54px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-02);
}

.lg-featured h2 {
  max-width: 520px;
  font-size: 34px;
  line-height: 1.08;
}

.lg-feature-copy p {
  max-width: 520px;
  margin-top: 24px;
}

.lg-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--fg-40);
  font-size: 10px;
}

.lg-feature-copy .lg-primary {
  margin-top: 28px;
}

.lg-feature-compare {
  display: grid;
  align-content: center;
  gap: 22px;
}

.lg-feature-compare div {
  max-width: 470px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.23);
}

.lg-root[data-theme="light"] .lg-feature-compare div {
  background: rgba(255, 255, 255, 0.35);
}

.lg-feature-compare .is-accent {
  border-color: var(--cyan-45);
  background: linear-gradient(90deg, var(--cyan-12), transparent);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.lg-feature-compare span {
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lg-feature-compare p {
  margin: 10px 0 0;
  color: var(--fg-70);
  font-size: 14px;
  line-height: 1.55;
}

.lg-proof-grid article {
  min-height: 196px;
  padding: 42px 32px 34px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.lg-proof-grid article:last-child {
  border-right: 0;
}

.lg-proof-grid h3 {
  margin: 26px 0 10px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 500;
}

.lg-proof-grid p {
  margin: 0;
  color: var(--fg-64);
  font-size: 13px;
  line-height: 1.58;
}

.lg-library-page {
  padding-top: 42px;
}

.lg-library-page .lg-filter-panel {
  margin-top: 0;
}

.lg-path-banners {
  display: grid;
  gap: 34px;
  padding: 48px 56px 80px;
}

.lg-path-banner {
  --path-accent: var(--cyan);
  --path-glow: var(--cyan-12);
  --path-soft: var(--cyan-04);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: color-mix(in srgb, var(--bg) 94%, var(--path-soft));
}

.lg-path-banner[data-path-banner="statements"],
.lg-path-banner[data-path-banner="salestax"] {
  --path-accent: var(--ph-green);
  --path-glow: var(--ph-green-glow);
  --path-soft: var(--ph-green-12);
}

.lg-path-banner[data-path-banner="entity"] {
  --path-accent: var(--ph-slate);
  --path-glow: var(--ph-slate-glow);
  --path-soft: var(--ph-slate-12);
}

.lg-path-banner-copy {
  padding: 58px 58px 54px;
}

.lg-path-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--path-accent);
  font-size: 10px;
}

.lg-path-banner-label i,
.lg-path-banner-meta > i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 13px var(--path-glow);
}

.lg-path-banner h2 {
  margin: 18px 0 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 43px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.lg-path-banner p {
  max-width: 1050px;
  margin: 24px 0 0;
  color: var(--fg-64);
  font-size: 18px;
  line-height: 1.65;
}

.lg-path-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  color: var(--fg-40);
  font-size: 11px;
}

.lg-path-banner-meta strong {
  color: var(--path-accent);
  font-weight: 400;
}

.lg-path-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-page-height);
  min-height: var(--button-page-height);
  margin-top: 36px;
  padding: 0 var(--button-page-pad-x);
  border-radius: var(--button-radius);
  background: var(--primary-bg);
  color: var(--primary-fg);
  font-size: var(--button-page-font);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.lg-path-banner-art {
  --acc: var(--path-accent);
  --acc-glow: var(--path-glow);
  --acc-12: var(--path-soft);
  --acc-06: var(--path-soft);
  --acc2: var(--ph-amber);
  --acc2-12: var(--ph-amber-12);
  --acc2-glow: var(--ph-amber-glow);
  min-height: 300px;
  padding: 40px 36px;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 84% 58%, var(--path-glow), transparent 26%);
}

.lg-path-banner[data-path-banner="statements"] .lg-path-banner-art,
.lg-path-banner[data-path-banner="salestax"] .lg-path-banner-art {
  --acc: var(--ph-green);
  --acc-glow: var(--ph-green-glow);
  --acc-12: var(--ph-green-12);
  --acc-06: var(--ph-green-12);
}

.lg-path-banner[data-path-banner="entity"] .lg-path-banner-art {
  --acc: var(--ph-slate);
  --acc-glow: var(--ph-slate-glow);
  --acc-12: var(--ph-slate-12);
  --acc-06: var(--ph-slate-12);
}

.lg-path-banner[data-path-banner="tax"] .lg-path-banner-art,
.lg-path-banner[data-path-banner="payroll"] .lg-path-banner-art {
  --acc2: var(--ph-amber);
  --acc2-12: var(--ph-amber-12);
  --acc2-glow: var(--ph-amber-glow);
}

.ph-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ph-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-row,
.ph-chip,
.ph-panel,
.ph-node,
.ph-lane {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, var(--acc-06));
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 180px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
}

.ph-row span:first-child {
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.ph-bar {
  display: block;
  width: var(--w, 64px);
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
}

.ph-bar-tail {
  width: 36px;
  margin-left: auto;
}

.ph-dotn,
.ph-cdot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ph-dotn {
  background: var(--fg-40);
}

.ph-cdot {
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc-glow);
}

.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--fg-64);
  font-size: 15px;
  white-space: nowrap;
}

.ph-panel {
  padding: 24px 24px;
  border-radius: 14px;
}

.ph-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--acc);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-arrow {
  flex: none;
  width: 58px;
  color: var(--fg-40);
  font-size: 26px;
  font-weight: 300;
  text-align: center;
}

.ph-ledger-rows {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 96%, var(--acc-06));
}

.ph-ledger-rows .ph-row .ph-bar:first-of-type {
  width: var(--w);
}

.ph-category-stack {
  min-width: 168px;
  gap: 14px;
}

.ph-books-panel {
  width: 190px;
}

.ph-books-panel .ph-bar {
  width: var(--w);
  height: 8px;
  margin-top: 13px;
  background: var(--acc);
  opacity: 0.88;
}

.ph-report-stack {
  width: 190px;
  gap: 14px;
}

.ph-report-stack .ph-row {
  justify-content: space-between;
  width: 100%;
}

.ph-report-stack .ph-row:nth-child(1) .ph-bar {
  width: 60px;
}

.ph-report-stack .ph-row:nth-child(2) .ph-bar {
  width: 44px;
}

.ph-report-stack .ph-row:nth-child(3) .ph-bar {
  width: 70px;
}

.ph-report-stack .ph-bar {
  background: var(--acc);
  opacity: 0.68;
}

.ph-chart-panel {
  position: relative;
  width: min(520px, 58vw);
  height: 200px;
}

.ph-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ph-panel-head .ph-kicker {
  margin-bottom: 0;
  color: var(--fg-48);
}

.ph-panel-head strong {
  color: var(--acc);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-spark {
  display: block;
  width: 100%;
  height: 128px;
  margin-top: 18px;
}

.ph-spark path.line {
  fill: none;
  stroke: var(--acc);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: 0;
  animation: phDraw 5s ease-in-out infinite;
}

.ph-spark path.fill {
  fill: var(--acc-12);
  stroke: none;
}

.ph-spark circle {
  fill: var(--acc);
}

.ph-records-panel {
  width: 190px;
}

.ph-record-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.ph-record-line:nth-of-type(2) .ph-bar {
  width: 76px;
}

.ph-record-line:nth-of-type(3) .ph-bar {
  width: 58px;
}

.ph-record-line:nth-of-type(4) .ph-bar {
  width: 68px;
}

.ph-checkpoint-stack {
  width: min(420px, 60vw);
  gap: 15px;
}

.ph-checkpoint-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.ph-checkpoint-row span {
  margin-left: 12px;
  color: var(--fg-64);
  font-size: 14px;
}

.ph-dia {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--acc2);
  border-radius: 10px;
  background: var(--acc2-12);
  color: var(--acc2);
}

.ph-dia svg {
  width: 18px;
  height: 18px;
}

.ph-conn {
  position: relative;
  flex: 1;
  min-width: 34px;
  height: 1px;
  background: var(--line);
}

.ph-conn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 9px var(--acc-glow);
  transform: translate(-50%, -50%);
}

.ph-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  color: var(--fg-64);
  font-size: 15px;
  white-space: nowrap;
}

.ph-node-hub {
  border-color: var(--acc);
  background: var(--acc-06);
  color: var(--fg);
}

.ph-link {
  flex: 1;
  min-width: 78px;
  height: 1px;
  background: var(--line);
}

.ph-entity-options {
  gap: 12px;
}

.ph-lane-stack,
.ph-sales-lanes {
  width: min(560px, 70vw);
  gap: 14px;
}

.ph-lane {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  overflow: hidden;
}

.ph-lane-lbl {
  flex: 0 0 94px;
  color: var(--fg-60);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ph-track {
  position: relative;
  flex: 1;
  min-width: 42px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}

.ph-pdot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc-glow);
  transform: translateY(-50%);
  animation: phTravel 4.6s ease-in-out infinite;
}

.ph-lane:nth-child(2) .ph-pdot {
  animation-delay: 1.2s;
}

.ph-lane:nth-child(3) .ph-pdot {
  animation-delay: 2.4s;
}

.ph-lane-warn {
  border-color: var(--acc2);
}

.ph-lane-warn .ph-lane-lbl {
  color: var(--acc2);
}

.ph-lane-warn .ph-pdot {
  background: var(--acc2);
  box-shadow: 0 0 10px var(--acc2-glow);
}

.ph-mini-dia {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.ph-mini-dia svg {
  width: 16px;
  height: 16px;
}

.ph-state-panel {
  width: 190px;
}

.ph-state-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ph-state-grid span {
  display: block;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, var(--acc) 44%, transparent 44%) 12px 14px / 48px 5px no-repeat,
    linear-gradient(90deg, var(--line-strong) 70%, transparent 70%) 12px 27px / 54px 5px no-repeat,
    color-mix(in srgb, var(--bg) 92%, var(--acc-06));
}

.ph-state-grid span:nth-child(2),
.ph-state-grid span:nth-child(3) {
  opacity: 0.72;
}

.ph-seq {
  animation: phSeq 5s ease-in-out infinite;
}

.ph-seqwrap > *:nth-child(1) .ph-seq,
.ph-seqwrap > .ph-seq:nth-child(1) {
  animation-delay: 0s;
}

.ph-seqwrap > *:nth-child(2) .ph-seq,
.ph-seqwrap > .ph-seq:nth-child(2) {
  animation-delay: 0.7s;
}

.ph-seqwrap > *:nth-child(3) .ph-seq,
.ph-seqwrap > .ph-seq:nth-child(3) {
  animation-delay: 1.4s;
}

.ph-seqwrap > *:nth-child(4) .ph-seq,
.ph-seqwrap > .ph-seq:nth-child(4) {
  animation-delay: 2.1s;
}

.ph-seqwrap > *:nth-child(5) .ph-seq,
.ph-seqwrap > .ph-seq:nth-child(5) {
  animation-delay: 2.8s;
}

@keyframes phSeq {
  0%,
  7% {
    box-shadow: 0 0 0 0 transparent;
  }

  12%,
  22% {
    box-shadow: 0 0 0 1px var(--acc), 0 0 15px var(--acc-glow);
  }

  32%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes phTravel {
  0% {
    left: 0;
    opacity: 0;
  }

  10%,
  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes phDraw {
  0% {
    stroke-dashoffset: var(--len);
  }

  34%,
  100% {
    stroke-dashoffset: 0;
  }
}

.lg-path-art-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 220px;
}

.lg-path-art-panel,
.lg-path-report-stack span,
.lg-path-entity-root,
.lg-path-entity-options span {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 92%, var(--path-soft));
}

.lg-path-art-panel {
  width: 235px;
  padding: 28px 26px;
}

.lg-path-art-label {
  display: block;
  margin-bottom: 18px;
  color: var(--fg-40);
  font-size: 10px;
}

.lg-path-transactions b {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 14px;
  margin-top: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lg-path-transactions b i,
.lg-path-chip-stack i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-40);
}

.lg-path-transactions b em {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: var(--line-strong);
}

.lg-path-transactions b em:first-of-type {
  width: var(--w);
}

.lg-path-transactions b em:last-child {
  width: 36px;
  margin-left: auto;
}

.lg-path-wire {
  width: 70px;
  height: 1px;
  background: var(--line);
  position: relative;
}

.lg-path-wire::before,
.lg-path-wire::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--path-accent);
  box-shadow: 0 0 12px var(--path-glow);
}

.lg-path-wire::before {
  left: 0;
}

.lg-path-wire::after {
  right: 0;
  opacity: 0.45;
}

.lg-path-chip-stack {
  display: grid;
  gap: 15px;
  min-width: 170px;
}

.lg-path-chip-stack span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 92%, var(--path-soft));
  color: var(--fg-64);
  font-size: 16px;
}

.lg-path-chip-stack i {
  background: var(--path-accent);
}

.lg-path-books > i,
.lg-path-art-panel > i {
  display: block;
  width: var(--w);
  height: 8px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--path-accent);
  opacity: 0.9;
}

.lg-path-report-stack {
  display: grid;
  gap: 18px;
  width: 185px;
}

.lg-path-report-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 22px;
}

.lg-path-report-stack em {
  color: var(--fg-48);
  font-style: normal;
}

.lg-path-report-stack i,
.lg-path-art-panel b i,
.lg-path-entity-options span::after {
  width: 62px;
  height: 7px;
  border-radius: 99px;
  background: var(--path-accent);
  opacity: 0.65;
}

.lg-path-art-arrow {
  color: var(--fg-40);
  font-size: 34px;
  font-weight: 300;
}

.lg-path-chart-panel {
  position: relative;
  width: min(520px, 50vw);
  height: 235px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 92%, var(--path-soft));
}

.lg-path-chart-panel strong {
  position: absolute;
  top: 28px;
  right: 30px;
  color: var(--path-accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lg-path-chart-panel svg {
  position: absolute;
  inset: 58px 30px 26px;
  width: calc(100% - 60px);
  height: calc(100% - 84px);
}

.lg-path-chart-panel svg path:first-child {
  fill: none;
  stroke: var(--path-accent);
  stroke-width: 4;
}

.lg-path-chart-panel svg path:nth-child(2) {
  fill: var(--path-glow);
  stroke: none;
}

.lg-path-chart-panel svg line {
  stroke: var(--line);
}

.lg-path-tax-badge,
.lg-path-people,
.lg-path-globe {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 92%, var(--path-soft));
  color: var(--path-accent);
  font-size: 48px;
}

.lg-path-tax-card b {
  display: block;
  height: 12px;
  margin-top: 20px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--path-accent) 68%, var(--line) 68%);
}

.lg-path-tax-card em {
  display: block;
  margin-top: 16px;
  color: var(--fg-40);
  font-style: normal;
}

.lg-path-branch {
  width: 270px;
  height: 170px;
}

.lg-path-branch path {
  stroke: var(--line-strong);
  stroke-width: 2;
}

.lg-path-entity-root {
  padding: 16px 24px;
  color: var(--fg-64);
}

.lg-path-entity-options {
  display: grid;
  gap: 12px;
  width: 190px;
}

.lg-path-entity-options span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  color: var(--fg-64);
}

.lg-path-entity-options span::after {
  content: "";
  width: 36px;
}

.lg-path-people {
  position: relative;
  display: flex;
  gap: 8px;
  width: 190px;
  border-radius: 22px;
}

.lg-path-people span {
  position: relative;
  width: 38px;
  height: 38px;
  border: 2px solid var(--path-accent);
  border-radius: 50%;
}

.lg-path-people span::after {
  content: "";
  position: absolute;
  left: -7px;
  right: -7px;
  bottom: -34px;
  height: 28px;
  border: 2px solid var(--path-accent);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom: 0;
}

.lg-path-art-panel b {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--fg-55);
  font-weight: 300;
}

.lg-path-globe {
  background:
    radial-gradient(circle, transparent 48%, var(--path-accent) 49%, var(--path-accent) 51%, transparent 52%),
    linear-gradient(var(--path-accent), var(--path-accent)),
    color-mix(in srgb, var(--bg) 92%, var(--path-soft));
  background-size: 80% 80%, 2px 62%, auto;
  background-repeat: no-repeat;
  background-position: center;
}

.lg-path-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  border-bottom: 1px solid var(--line);
}

.lg-path-detail:last-child {
  border-bottom: 0;
}

.lg-path-detail-copy {
  padding: 52px 40px 44px 56px;
  border-right: 1px solid var(--line);
}

.lg-path-detail-copy h2 {
  margin: 0;
  max-width: 420px;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.lg-path-detail-copy p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--fg-64);
  font-size: 15px;
  line-height: 1.65;
}

.lg-path-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lg-path-detail-meta a {
  color: var(--cyan);
  text-decoration: none;
}

.lg-path-guide-list {
  display: grid;
  align-content: start;
}

.lg-path-guide-list .lg-guide.row {
  min-height: 104px;
}

.lg-filter-panel {
  display: grid;
  gap: 24px;
  margin: 0 56px 42px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-02);
}

.lg-search-box {
  display: grid;
  gap: 10px;
}

.lg-search-box span,
.lg-filter-label {
  color: var(--fg-40);
  font-size: 10px;
}

.lg-search-box input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-03);
  color: var(--fg);
  outline: none;
}

.lg-search-box input:focus {
  border-color: var(--cyan-45);
  box-shadow: 0 0 0 3px var(--cyan-08);
}

.lg-chip-row,
.lg-filter-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lg-filter-line {
  justify-content: space-between;
}

.lg-chip {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-03);
  color: var(--fg-64);
  font-size: 13px;
}

.lg-chip.is-active {
  border-color: var(--cyan-45);
  background: var(--cyan-08);
  color: var(--cyan);
}

.lg-preview-grid {
  border-top: 1px solid var(--line);
}

.lg-guide {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 186px;
  padding: 30px 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.lg-guide * {
  text-decoration: none;
}

.lg-guide:nth-child(3n) {
  border-right: 0;
}

.lg-guide.row {
  grid-template-columns: 22px minmax(180px, 1fr) minmax(280px, 1.1fr) auto;
  align-items: center;
  min-height: 96px;
  gap: 22px;
  border-right: 0;
}

.lg-result-list {
  border-top: 1px solid var(--line);
}

.lg-guide-mark {
  width: 18px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.lg-guide-topic {
  justify-self: end;
  color: var(--cyan);
  font-size: 10px;
}

.lg-guide-title {
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  line-height: 1.15;
}

.lg-guide.row .lg-guide-title {
  font-size: 18px;
}

.lg-guide-teaser {
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.5;
}

.lg-guide.row .lg-guide-teaser {
  max-width: 460px;
}

.lg-level-dots {
  display: inline-flex;
  gap: 4px;
  transform: translateY(1px);
}

.lg-level-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.lg-level-dots .on {
  background: var(--cyan);
}

.lg-empty {
  padding: 44px 56px;
  color: var(--fg-64);
}

.lg-term-list {
  border-top: 1px solid var(--line);
}

.lg-term {
  border-bottom: 1px solid var(--line);
}

.lg-term > button {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: start;
  width: 100%;
  padding: 22px 56px;
  text-align: left;
}

.lg-term > button span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.lg-term > button strong {
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.lg-term > button em {
  color: var(--fg-40);
  font-style: normal;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.lg-term-body {
  grid-column: 2 / 3;
  max-width: 760px;
  max-height: 0;
  margin: 0 56px 0 126px;
  overflow: hidden;
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.65;
  opacity: 0;
  transition: max-height 180ms ease, opacity 180ms ease, margin 180ms ease;
}

.lg-term-body p {
  margin: 0;
}

.lg-term-body div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.lg-term-body small {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1;
}

.lg-term.is-open > button em {
  color: var(--cyan);
  transform: rotate(180deg);
}

.lg-term.is-open .lg-term-body {
  max-height: 420px;
  margin-bottom: 22px;
  opacity: 1;
}

.lg-glossary-controls {
  padding: 0 56px 28px;
}

.lg-glossary-count {
  margin-top: 14px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.lg-glossary-status {
  display: grid;
  gap: 8px;
  margin: 0 56px 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-03);
}

.lg-glossary-status strong {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.lg-glossary-status span {
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.55;
}

.lg-link-button {
  display: inline-flex;
  margin: 28px 56px 58px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.lg-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin: 64px 56px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(90deg, var(--surface-03), var(--surface-01));
}

.lg-newsletter h2 {
  font-size: 29px;
  line-height: 1.1;
}

.lg-newsletter p {
  max-width: 520px;
  margin-top: 12px;
}

.lg-email-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  min-width: 420px;
}

.lg-email-form input {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-03);
  color: var(--fg);
  outline: none;
}

.lg-email-form span {
  grid-column: 1 / -1;
  color: var(--fg-40);
  font-size: 12px;
}

.lg-final {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 88px 24px 100px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.lg-final h2 {
  font-size: 43px;
  line-height: 1.03;
}

.lg-final p {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.lg-final div {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.lg-footer {
  border-top: 1px solid var(--line);
}

.lg-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  padding: 58px 56px 46px;
}

.lg-footer p {
  max-width: 210px;
  margin: 20px 0 0;
  color: var(--fg-64);
  font-size: 13px;
  line-height: 1.55;
}

.lg-footer-top > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 11px;
}

.lg-footer span {
  color: var(--fg-40);
  font-size: 10px;
}

.lg-footer a,
.lg-footer button {
  width: fit-content;
  padding: 0;
  text-decoration: none;
  color: var(--fg-64);
  font-size: 13px;
}

.lg-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 56px;
  border-top: 1px solid var(--line);
}

.lg-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.lg-dialog {
  position: relative;
  width: min(560px, 100%);
  min-height: 100%;
  padding: 58px 42px;
  border-left: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
}

.lg-dialog h2 {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1.08;
}

.lg-dialog > p {
  margin-top: 20px;
}

.lg-close {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-64);
  font-size: 24px;
}

.lg-dialog-body {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.lg-dialog-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.lg-dialog-body button {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  color: var(--fg);
}

@media (max-width: 860px) {
  .gl-pill,
  .gl-chip {
    min-height: 40px;
  }

  .gl-az {
    width: 30px !important;
    height: 30px !important;
  }

  .gl-hide-m {
    display: none !important;
  }

  .gl-nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 12px !important;
  }

  .gl-col section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .gl-hero {
    padding: 64px 20px 44px !important;
  }

  .gl-hero-h1 {
    font-size: 40px !important;
    line-height: 44px !important;
  }

  .gl-term-pad {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .gl-ltr-pad {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .gl-az-row {
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow-x: auto !important;
  }

  .gl-foot {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 24px !important;
    padding: 48px 20px 32px !important;
  }
}

@media (max-width: 980px) {
  .lg-nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: 64px;
    padding: 0 20px;
    border-left: 0;
    border-right: 0;
  }

  .lg-wordmark {
    width: 128px;
    min-width: 128px;
    gap: 0;
  }

  .lg-wordmark::after {
    display: none;
  }

  .lg-mobile-brand-label {
    display: none;
  }

  .lg-nav-links {
    display: none;
  }

  .lg-search-trigger .lg-search-label,
  .lg-search-trigger kbd {
    display: none;
  }

  .lg-nav-actions {
    gap: 12px;
    width: 96px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .lg-search-trigger {
    justify-content: center;
    min-width: 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-03);
  }

  .lg-help {
    display: none;
  }

  .lg-demo {
    display: none;
  }

  .lg-icon-button {
    width: 42px;
    height: 42px;
  }

  .lg-hero {
    min-height: auto;
    padding: 86px 22px 56px;
  }

  .lg-page-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    min-height: auto;
    padding: 70px 22px 48px;
  }

  .lg-page-hero .lg-section-num {
    margin-bottom: -8px;
  }

  .lg-page-hero > .lg-primary,
  .lg-page-hero > .lg-secondary {
    justify-self: start;
    width: fit-content;
    max-width: 100%;
  }

  .lg-page-hero h1 {
    font-size: 45px;
  }

  .lg-hero h1 {
    font-size: 45px;
  }

  .lg-section-head,
  .lg-featured,
  .lg-newsletter,
  .lg-filter-line {
    grid-template-columns: 1fr;
  }

  .lg-section-head {
    gap: 22px;
    padding: 56px 22px 34px;
  }

  .lg-section-head > .lg-primary,
  .lg-section-head > .lg-secondary {
    justify-self: start;
  }

  .lg-path-grid,
  .lg-proof-grid,
  .lg-preview-grid {
    grid-template-columns: 1fr;
  }

  .lg-path-detail {
    grid-template-columns: 1fr;
  }

  .lg-path-banners {
    gap: 24px;
    padding: 28px 18px 54px;
  }

  .lg-path-banner {
    border-radius: 18px;
  }

  .lg-path-banner-copy {
    padding: 36px 28px 34px;
  }

  .lg-path-banner h2 {
    font-size: 37px;
  }

  .lg-path-banner p {
    font-size: 16px;
  }

  .lg-path-banner-meta {
    gap: 12px;
    font-size: 10px;
  }

  .lg-path-banner-cta {
    width: max-content;
    margin-top: 30px;
  }

  .lg-path-banner-art {
    min-height: 260px;
    padding: 30px 22px;
  }

  .ph-motif {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    min-height: 190px;
    overflow: visible;
  }

  .ph-arrow,
  .ph-link {
    display: none;
  }

  .ph-ledger-rows,
  .ph-records-panel,
  .ph-books-panel,
  .ph-report-stack,
  .ph-state-panel {
    width: min(100%, 250px);
  }

  .ph-chart-panel,
  .ph-checkpoint-stack,
  .ph-lane-stack,
  .ph-sales-lanes {
    width: 100%;
  }

  .ph-checkpoint-row span {
    font-size: 13px;
  }

  .ph-node {
    min-height: 44px;
    padding: 0 18px;
  }

  .ph-entity-options {
    width: 100%;
    max-width: 230px;
  }

  .ph-lane-lbl {
    flex-basis: 84px;
  }

  .lg-path-art-flow {
    flex-wrap: wrap;
    gap: 16px;
    min-height: 190px;
  }

  .lg-path-art-panel {
    width: min(100%, 250px);
  }

  .lg-path-wire {
    display: none;
  }

  .lg-path-chip-stack {
    min-width: 180px;
  }

  .lg-path-art-statements {
    justify-content: flex-start;
  }

  .lg-path-report-stack {
    width: min(100%, 210px);
  }

  .lg-path-art-arrow {
    display: none;
  }

  .lg-path-chart-panel {
    width: 100%;
  }

  .lg-path-branch {
    display: none;
  }

  .lg-path-detail-copy {
    padding: 42px 22px 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lg-path-card,
  .lg-proof-grid article,
  .lg-guide {
    border-right: 0;
  }

  .lg-featured,
  .lg-filter-panel,
  .lg-newsletter {
    margin-left: 22px;
    margin-right: 22px;
    padding: 28px;
  }

  .lg-guide.row {
    grid-template-columns: 22px 1fr;
  }

  .lg-guide.row .lg-guide-teaser,
  .lg-guide.row .lg-guide-meta {
    grid-column: 2;
  }

  .lg-guide-topic {
    justify-self: start;
  }

  .lg-email-form {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .lg-term > button {
    grid-template-columns: 44px 1fr auto;
    padding: 20px 22px;
  }

  .lg-term-body {
    margin-left: 66px;
    margin-right: 22px;
  }

  .lg-link-button {
    margin-left: 22px;
  }

  .lg-glossary-controls,
  .lg-glossary-status {
    margin-left: 22px;
    margin-right: 22px;
    padding-left: 0;
    padding-right: 0;
  }

  .lg-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    padding: 42px 22px;
  }

  .lg-footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 18px 22px;
  }
}

@media (max-width: 620px) {
  .lg-command-overlay {
    align-items: start;
    padding: 82px 10px 10px;
  }

  .lg-command-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 96px);
    border-radius: 16px;
  }

  .lg-command-head {
    min-height: 58px;
    gap: 12px;
    padding: 0 16px;
  }

  .lg-command-input {
    font-size: 16px;
  }

  .lg-command-esc {
    display: none;
  }

  .lg-command-suggested,
  .lg-command-label {
    height: 34px;
    padding: 0 16px;
    font-size: 10px;
  }

  .lg-command-row {
    min-height: 68px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 16px;
  }

  .lg-command-type {
    width: 48px;
    height: 22px;
    font-size: 9px;
  }

  .lg-command-copy strong {
    font-size: 18px;
    line-height: 22px;
  }

  .lg-command-copy em {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .lg-command-arrow,
  .lg-command-footer {
    display: none;
  }

  .lg-demo {
    display: none;
  }

  .lg-hero h1 {
    font-size: 38px;
  }

  .lg-page-hero h1 {
    font-size: 38px;
  }

  .lg-hero-actions,
  .lg-final div {
    flex-direction: column;
    align-items: flex-start;
  }

  .lg-hero-actions .lg-primary,
  .lg-hero-actions .lg-secondary,
  .lg-final .lg-primary,
  .lg-final .lg-secondary {
    width: fit-content;
    max-width: 100%;
  }

  .lg-section-head h2,
  .lg-featured h2,
  .lg-final h2,
  .lg-dialog h2 {
    font-size: 31px;
  }

  .lg-featured {
    gap: 28px;
  }

  .lg-footer-top {
    grid-template-columns: 1fr;
  }
}

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

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

  .ph-seq,
  .ph-pdot,
  .ph-spark path.line {
    animation: none !important;
  }

  .ph-pdot {
    display: none;
  }

  .ph-spark path.line {
    stroke-dashoffset: 0;
  }
}

.lg-nav-actions svg,
.lg-help svg,
.lg-search-trigger svg {
  flex: none;
  color: currentColor;
}

.lg-help {
  justify-content: center;
  gap: 6px;
  width: 92px;
  height: 30px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .lg-nav-actions {
    width: 96px;
  }

  .lg-help {
    display: none;
  }
}

.lg-library-export {
  border-top: 1px solid var(--line);
  min-height: 720px;
}

.lg-libhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 56px 28px;
}

.lg-export-label {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lg-libhead h1,
.lg-curriculum-head h2,
.lg-other-paths h2 {
  margin: 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.lg-libhead .lg-export-label,
.lg-curriculum-head .lg-export-label,
.lg-other-paths .lg-export-label {
  margin-bottom: 14px;
}

.lg-lib-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-02);
  color: var(--cyan);
}

.lg-lib-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  font-size: 15px;
}

.lg-lib-search input::placeholder {
  color: var(--fg-40);
}

.lg-topic-filters,
.lg-filter-strip,
.lg-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.lg-topic-filters {
  gap: 9px;
  padding: 0 56px 16px;
}

.lg-filter-strip {
  justify-content: space-between;
  gap: 16px;
  padding: 0 56px 24px;
}

.lg-filter-group {
  gap: 9px;
}

.lg-filter-group > span,
.lg-filter-group > em {
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lg-filter-group.is-sort {
  gap: 7px;
}

.lg-filter-group.is-sort > span {
  margin-right: 4px;
}

.lg-filter-group > em {
  margin-left: 8px;
  letter-spacing: 0.16em;
}

.lg-chip.is-mono {
  min-height: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lg-library-list {
  border-top: 1px solid var(--line);
}

.lg-library-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 20px;
  min-height: 114px;
  padding: 28px 56px 24px;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
}

.lg-library-row:hover {
  background: var(--surface-02);
}

.lg-row-mark {
  position: relative;
  display: block;
  width: 18px;
  height: 22px;
  margin-top: 6px;
}

.lg-row-mark::before,
.lg-row-mark::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 4px;
  border-radius: 1px;
  background: var(--line-strong);
}

.lg-row-mark::before {
  top: 0;
}

.lg-row-mark::after {
  top: 8px;
}

.lg-row-mark {
  border-bottom: 4px solid var(--cyan);
}

.lg-row-copy {
  display: grid;
  gap: 9px;
}

.lg-row-copy strong {
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lg-row-copy em {
  max-width: 760px;
  color: var(--fg-64);
  font-size: 15px;
  font-style: normal;
  line-height: 1.48;
}

.lg-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lg-row-meta span:first-child {
  color: var(--cyan);
}

.lg-row-meta i,
.lg-path-stats span:nth-child(2n),
.gd-meta-strip i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-30);
}

.lg-row-arrow {
  color: var(--fg-40);
  transition: color 160ms ease, transform 160ms ease;
}

.lg-library-row:hover .lg-row-arrow {
  color: var(--cyan);
  transform: translate(2px, -2px);
}

.lg-level-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 15px;
  height: 14px;
  margin-right: 10px;
  vertical-align: -2px;
}

.lg-level-bars span {
  width: 4px;
  border-radius: 1px;
  background: var(--line-strong);
}

.lg-level-bars span:nth-child(1) {
  height: 6px;
}

.lg-level-bars span:nth-child(2) {
  height: 10px;
}

.lg-level-bars span:nth-child(3) {
  height: 14px;
}

.lg-level-bars .on {
  background: var(--cyan);
}

.lg-path-export {
  position: relative;
  min-height: 452px;
  padding: 48px 56px 62px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.lg-path-glow {
  position: absolute;
  top: 44px;
  left: 43%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-08), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.lg-breadcrumbs,
.gd-breadcrumbs {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.lg-breadcrumbs a,
.gd-breadcrumbs a {
  color: var(--fg-40);
  text-decoration: none;
}

.lg-breadcrumbs span:last-child,
.gd-breadcrumbs span:last-child {
  color: var(--cyan);
}

.lg-path-hero-clean {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 72px;
  padding-top: 34px;
}

.lg-path-intro {
  max-width: 610px;
}

.lg-path-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lg-path-label .lg-path-icon,
.lg-other-card .lg-path-icon {
  width: 48px;
  height: 48px;
  color: var(--fg);
  background: var(--surface-01);
}

.lg-path-intro h1 {
  margin: 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.01em;
}

.lg-path-intro p {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--fg-64);
  font-size: 18px;
  line-height: 1.55;
}

.lg-path-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.lg-reset {
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.lg-reset.is-hidden {
  visibility: hidden;
}

.lg-path-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lg-path-stats strong {
  color: var(--cyan);
  font-weight: 400;
}

.lg-outcomes {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-01);
}

.lg-outcomes p,
.gd-takeaways p {
  display: flex;
  gap: 14px;
  margin: 0;
  color: var(--fg-70);
  font-size: 15px;
  line-height: 1.45;
}

.lg-outcomes svg,
.gd-takeaways svg {
  flex: none;
  margin-top: 2px;
  color: var(--cyan);
}

.lg-curriculum-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 48px 56px 28px;
  border-bottom: 1px solid var(--line);
}

.lg-progress-meter {
  min-width: 200px;
}

.lg-progress-meter div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lg-progress-meter strong {
  color: var(--cyan);
  font-weight: 400;
}

.lg-progress-meter i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface-06);
}

.lg-progress-meter i span {
  display: block;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-45);
  transition: width 240ms ease;
}

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

.lg-lesson-row {
  display: grid;
  grid-template-columns: 30px 26px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 20px;
  padding: 24px 56px;
  border-bottom: 1px solid var(--line-soft);
}

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

.lg-lesson-check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
}

.lg-lesson-check.is-done {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--primary-fg);
}

.lg-lesson-num {
  padding-top: 7px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.lg-lesson-copy {
  display: grid;
  gap: 7px;
  padding-right: 18px;
  color: inherit;
  text-decoration: none;
}

.lg-lesson-copy strong {
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.23;
}

.lg-lesson-copy strong.is-done {
  color: var(--fg-48);
}

.lg-lesson-copy em {
  max-width: 680px;
  color: var(--fg-64);
  font-size: 15px;
  font-style: normal;
  line-height: 1.48;
}

.lg-lesson-copy > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lg-lesson-copy > span i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-30);
}

.lg-lesson-arrow {
  padding-top: 8px;
  color: var(--fg-40);
  text-decoration: none;
}

.lg-lesson-row:hover .lg-lesson-arrow,
.lg-lesson-row:hover .lg-lesson-copy strong {
  color: var(--cyan);
}

.lg-other-paths {
  padding: 56px;
  border-bottom: 1px solid var(--line);
}

.lg-other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.lg-other-card {
  position: relative;
  display: grid;
  min-height: 146px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-01);
}

.lg-other-card strong {
  align-self: end;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
}

.lg-other-card em {
  margin-top: 8px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lg-other-card > i {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--fg-40);
}

.lg-path-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 274px;
  padding: 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
}

.lg-path-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 330px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-08), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%);
  pointer-events: none;
}

.lg-path-cta > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.lg-path-cta h2 {
  margin: 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
}

.lg-path-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
}

.lg-path-cta span {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.gd-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px) 220px;
  align-items: start;
  min-height: 860px;
}

.gd-mobile-path {
  display: none;
}

.gd-aside-l,
.gd-aside-r {
  position: sticky;
  top: 53px;
  align-self: start;
  min-height: calc(100vh - 53px);
  padding: 48px 22px;
}

.gd-aside-l {
  border-right: 1px solid var(--line);
}

.gd-aside-r {
  border-left: 1px solid var(--line);
}

.gd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.gd-path-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.gd-path-mini .lg-path-icon {
  flex: none;
  width: 40px;
  height: 40px;
  color: var(--fg);
}

.gd-path-mini strong {
  display: block;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.18;
}

.gd-path-mini em {
  display: block;
  margin-top: 3px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gd-mini-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gd-mini-progress span {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface-06);
}

.gd-mini-progress i {
  display: block;
  width: 16.6%;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-45);
}

.gd-mini-progress em {
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.gd-mini-lessons {
  display: grid;
  gap: 1px;
}

.gd-mini-lesson {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-left: 2px solid transparent;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.gd-mini-lesson.is-current {
  border-left-color: var(--cyan);
  background: var(--cyan-08);
}

.gd-mini-lesson span {
  flex: none;
  padding-top: 1px;
  color: var(--fg-30);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.gd-mini-lesson.is-current span {
  color: var(--cyan);
}

.gd-mini-lesson em {
  flex: 1;
  color: var(--fg-55);
  font-size: 13.5px;
  font-style: normal;
  line-height: 1.4;
}

.gd-mini-lesson.is-current em {
  color: var(--fg);
}

.gd-mini-lesson i {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.gd-main {
  min-width: 0;
  max-width: 760px;
  padding: 48px 64px 80px;
}

.gd-breadcrumbs {
  margin-bottom: 30px;
}

.gd-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 22px;
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-meta-strip > span:nth-of-type(1) {
  color: var(--cyan);
}

.gd-main h1 {
  margin: 0 0 24px;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gd-lead {
  margin: 0 0 32px;
  color: var(--fg-64);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.52;
}

.gd-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gd-byline > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cyan-45);
  border-radius: 50%;
  background: var(--cyan-08);
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.gd-byline strong {
  display: block;
  color: var(--fg-70);
  font-size: 14px;
  font-weight: 400;
}

.gd-byline em {
  display: block;
  margin-top: 1px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-style: normal;
}

.gd-body {
  color: var(--fg-70);
}

.gd-body p {
  margin: 0 0 20px;
  color: var(--fg-70);
  font-size: 16px;
  line-height: 1.65;
}

.gd-body strong {
  color: var(--fg);
  font-weight: 500;
}

.gd-short {
  margin-bottom: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: 12px;
  background: var(--cyan-04);
}

.gd-short div,
.gd-takeaways > div {
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gd-short p {
  margin: 0;
}

.gd-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 14px;
}

.gd-section-heading span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.gd-section-heading h2 {
  margin: 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.gd-term-callout {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-01);
}

.gd-term-callout div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-term-callout p {
  margin: 0;
  color: var(--fg-64);
  font-size: 15px;
  line-height: 1.53;
}

.gd-body blockquote {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1.36;
}

.gd-body blockquote::before {
  content: "";
  flex: none;
  width: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-45);
}

.gd-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.gd-compare > div:first-child {
  border-right: 1px solid var(--line);
}

.gd-compare strong {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-01);
  color: var(--fg-64);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gd-compare .is-accent strong {
  background: var(--cyan-04);
  color: var(--cyan);
}

.gd-compare p {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.gd-compare p:last-child {
  border-bottom: 0;
}

.gd-compare em {
  display: block;
  margin-bottom: 4px;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gd-compare span {
  color: var(--fg-70);
  font-size: 14px;
  line-height: 1.5;
}

.gd-markdown-table,
.gd-markdown-table {
  margin: 28px 0 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-01);
  overflow: hidden;
}

.gd-markdown-table p {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}

.gd-markdown-table p:last-child {
  border-bottom: 0;
}

.gd-markdown-table span {
  padding: 12px 14px;
  border-right: 1px solid var(--line-soft);
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.45;
}

.gd-markdown-table span:last-child {
  border-right: 0;
}

.gd-takeaways {
  margin: 48px 0 8px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-01);
}

.gd-takeaways h3 {
  margin: 0 0 20px;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.gd-takeaways p {
  margin-bottom: 16px;
}

.gd-handoff,
.gd-next,
.gd-related a {
  color: inherit;
  text-decoration: none;
  background: var(--surface-01);
}

.gd-handoff {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.gd-handoff > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan-30);
  border-radius: 10px;
  background: var(--cyan-04);
  color: var(--cyan);
}

.gd-handoff > span svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gd-handoff div {
  flex: 1;
}

.gd-handoff em,
.gd-next em,
.gd-related > div,
.gd-related a em,
.gd-toc-label {
  display: block;
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gd-handoff em,
.gd-related a em {
  color: var(--cyan);
}

.gd-handoff strong,
.gd-next strong,
.gd-related a strong {
  display: block;
  margin-top: 5px;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.gd-handoff p {
  margin: 3px 0 0;
  color: var(--fg-64);
  font-size: 14px;
  line-height: 1.4;
}

.gd-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.gd-helpful,
.gd-thanks,
.gd-feedback button {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gd-helpful span,
.gd-thanks span {
  color: var(--fg-70);
  font-size: 14px;
}

.gd-helpful button,
.gd-helpful a,
.gd-feedback > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-03);
  color: var(--fg-70);
  font-size: 14px;
  text-decoration: none;
}

.gd-helpful button:hover,
.gd-helpful a:hover,
.gd-feedback > button:hover {
  border-color: var(--cyan-45);
  color: var(--cyan);
}

.gd-thanks i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.gd-next {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.gd-next div {
  flex: 1;
}

.gd-next strong {
  font-size: 22px;
}

.gd-related {
  margin-top: 48px;
}

.gd-related > div {
  margin-bottom: 18px;
}

.gd-related section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gd-related a {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.gd-related a strong {
  margin: 10px 0;
  font-size: 19px;
}

.gd-related a span {
  color: var(--fg-40);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.gd-toc-list {
  display: grid;
  gap: 1px;
  margin: 16px 0 24px;
}

.gd-toc-list button {
  padding: 7px 12px;
  border-left: 2px solid var(--line);
  color: var(--fg-60);
  text-align: left;
  font-size: 13px;
  line-height: 1.38;
}

.gd-toc-list button.is-active {
  border-left-color: var(--cyan);
  color: var(--cyan);
}

.gd-read-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--fg-48);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .gd-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gd-aside-l,
  .gd-aside-r {
    position: static;
    min-height: 0;
    border: 0;
  }

  .gd-aside-l {
    border-bottom: 1px solid var(--line);
  }

  .gd-aside-r {
    display: none;
  }

  .gd-main {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .lg-libhead,
  .lg-path-hero-clean,
  .lg-curriculum-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lg-libhead,
  .lg-topic-filters,
  .lg-filter-strip,
  .lg-path-export,
  .lg-curriculum-head,
  .lg-lesson-row,
  .lg-other-paths,
  .lg-path-cta,
  .gd-main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .gd-aside-l {
    display: none;
  }

  .gd-mobile-path {
    position: sticky;
    top: 64px;
    z-index: 70;
    display: block;
    border-bottom: 1px solid var(--line);
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
  }

  .gd-mobile-path-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 11px 20px;
    text-align: left;
  }

  .gd-mobile-path-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--surface-08);
    border-radius: 8px;
    color: var(--fg);
  }

  .gd-mobile-path-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
  }

  .gd-mobile-path-copy {
    flex: 1;
    min-width: 0;
  }

  .gd-mobile-path-copy strong {
    display: block;
    overflow: hidden;
    color: var(--fg);
    font-family: "Newsreader", Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gd-mobile-path-copy em {
    display: block;
    margin-top: 3px;
    color: var(--fg-48);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .gd-mobile-path-chev {
    display: grid;
    flex: none;
    place-items: center;
    width: 18px;
    height: 18px;
    color: var(--fg-48);
    transition: transform 0.2s ease;
  }

  .gd-mobile-path-chev svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .gd-mobile-path-head[aria-expanded="true"] .gd-mobile-path-chev {
    transform: rotate(180deg);
  }

  .gd-mobile-path-progress {
    height: 2px;
    background: var(--surface-08);
  }

  .gd-mobile-path-progress span,
  .gd-mobile-path-progress i {
    display: block;
    height: 100%;
  }

  .gd-mobile-path-progress i {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-45);
  }

  .gd-mobile-lessons {
    display: grid;
    gap: 1px;
    max-height: 52vh;
    overflow-y: auto;
    padding: 8px;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }

  .gd-mobile-lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 12px;
    border-left: 2px solid transparent;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
  }

  .gd-mobile-lesson.is-current {
    border-left-color: var(--cyan);
    background: var(--cyan-08);
  }

  .gd-mobile-lesson span {
    flex: none;
    color: var(--fg-30);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
  }

  .gd-mobile-lesson em {
    flex: 1;
    color: var(--fg-55);
    font-size: 14px;
    font-style: normal;
    line-height: 19px;
  }

  .gd-mobile-lesson.is-current span,
  .gd-mobile-lesson.is-current em {
    color: var(--fg);
  }

  .gd-mobile-lesson.is-current span {
    color: var(--cyan);
  }

  .gd-mobile-lesson i {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
  }

  .gd-main {
    max-width: none;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .gd-main h1 {
    font-size: 36px;
    line-height: 41px;
  }

  .gd-lead {
    font-size: 21px;
    line-height: 32px;
  }

  .lg-path-hero-clean {
    gap: 32px;
  }

  .lg-outcomes {
    max-width: none;
  }

  .lg-other-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .lg-libhead {
    align-items: stretch;
  }

  .lg-lib-search {
    min-width: 0;
    width: 100%;
  }

  .lg-library-row {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 24px 22px;
  }

  .lg-row-arrow {
    grid-column: 2;
  }

  .lg-lesson-row {
    grid-template-columns: 30px 24px minmax(0, 1fr);
    gap: 14px;
  }

  .lg-lesson-arrow {
    grid-column: 3;
    padding-top: 0;
  }

  .lg-other-grid,
  .gd-related section,
  .gd-compare {
    grid-template-columns: 1fr;
  }

  .gd-compare > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lg-path-intro h1 {
    font-size: 38px;
  }

  .gd-main h1 {
    font-size: 36px;
    line-height: 41px;
  }

  .gd-lead {
    font-size: 21px;
    line-height: 32px;
  }

  .gd-feedback,
  .gd-helpful {
    align-items: flex-start;
    flex-direction: column;
  }

  .lg-path-cta span {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
  }
}
