/* x429.dev — white paper, dark glass. Code lives on dark surfaces; everything
   else is ink on paper. One family everywhere; the logo word is paths. */
:root {
  --bg:     #fafafa;
  --panel:  #ffffff;
  --ink:    #0c0e10;
  --tx2:    #4b5259;
  --tx3:    #6b7278;
  --line:   #e7e9eb;
  --line2:  #d4d7da;

  /* dark surfaces: terminals, wire blocks, the simulation */
  --dk:      #0d0f11;
  --dk-line: #21262b;
  --dk-tx:   #e9ecef;
  --dk-tx2:  #a8b0b8;
  --dk-tx3:  #78828c;

  --go:     #46d485;   /* money green on dark surfaces */
  --go-ink: #0a7c4c;   /* money green on paper */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --theme-wipe-light: #fafafa;
  --theme-wipe-dark: #050607;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg:     #0d1013;
  --panel:  #15191d;
  --ink:    #f2f5f7;
  --tx2:    #c4ccd3;
  --tx3:    #8d98a3;
  --line:   #262c32;
  --line2:  #39424b;

  --dk:      #050607;
  --dk-line: #1c2228;
  --dk-tx:   #f2f5f7;
  --dk-tx2:  #aeb8c2;
  --dk-tx3:  #6f7b86;

  --go:     #57e69a;
  --go-ink: #63dfa0;
  --theme-wipe-light: #fafafa;
  --theme-wipe-dark: #050607;
  color-scheme: dark;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--dk); }   /* the machine layer */
body {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.75;
  color: var(--tx2);
  transition: color 260ms ease;
}

/* the wire: request streams flowing beneath the page */
#wire {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: var(--ink); text-decoration-color: var(--line2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
b { color: var(--ink); font-weight: 600; }
code { color: var(--ink); background: #eef0f2; padding: 1px 6px; border-radius: 4px; font-size: 0.93em; }
:root[data-theme="dark"] code { background: #20262c; }

h1, h2 { color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.3; font-weight: 600; margin-bottom: 20px; }

/* paper slabs floating on the wire */
.slab {
  position: relative;
  max-width: 1264px;
  margin: 0 auto 56px;
  width: calc(100% - 24px);
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px rgba(0, 0, 0, 0.85);
  overflow: clip;
}
.slab section { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.slab section:first-child { border-top: 0; }
/* blueprint corner marks: each sheet is an engineered document */
.slab::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background-image:
    linear-gradient(var(--line2), var(--line2)), linear-gradient(var(--line2), var(--line2)),
    linear-gradient(var(--line2), var(--line2)), linear-gradient(var(--line2), var(--line2)),
    linear-gradient(var(--line2), var(--line2)), linear-gradient(var(--line2), var(--line2)),
    linear-gradient(var(--line2), var(--line2)), linear-gradient(var(--line2), var(--line2));
  background-repeat: no-repeat;
  background-size: 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px,
                   12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
@media (max-width: 719px) {
  .slab { width: calc(100% - 16px); margin-bottom: 36px; border-radius: 12px; }
}

.sec { padding: 96px 24px; border-top: 1px solid var(--line); }
@media (max-width: 719px) { .sec { padding: 60px 24px; } }
.wide { max-width: 76ch; }
.dim { color: var(--tx3); }

/* ---- logo (exact; word is traced paths) ---- */
.logo-svg { display: block; }
.lg-dots circle { fill: #4d5359; transform-box: fill-box; transform-origin: center; }
.lg-word path { fill: var(--ink); }
.logo .logo-svg { height: 22px; width: auto; }
.foot-mark circle { fill: #9aa0a6; }

/* ---- top bar: paper island at rest, dark glass while flying over the page ---- */
.top {
  position: sticky; top: 10px; z-index: 30;
  display: flex; align-items: center; justify-content: flex-start; gap: 22px;
  max-width: 1264px;
  width: calc(100% - 24px);
  margin: 12px auto;
  padding: 13px 22px;
  background: rgba(252, 252, 252, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(12, 14, 16, 0.07);
  border-radius: 12px;
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.75);
  transition:
    max-width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.top .logo-svg { transition: height 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.top .lg-dots circle, .top .lg-word path { transition: fill 300ms ease; }
.topnav a { transition: color 200ms ease; }

.top.scrolled {
  max-width: 880px;
  padding: 10px 20px;
  /* clearly lighter than the wire + lit ring, so it separates from dark bands too */
  background: rgba(39, 43, 50, 0.95);
  backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 30px -8px rgba(0, 0, 0, 0.7),
    0 24px 60px -24px rgba(0, 0, 0, 0.9);
}
.top.scrolled .logo-svg { height: 19px; }
.top.scrolled .lg-dots circle { fill: #8b9198; }
.top.scrolled .lg-word path { fill: #f2f4f6; }
.top.scrolled .topnav a { color: var(--dk-tx2); }
.top.scrolled .topnav a:hover { color: #ffffff; }
@media (max-width: 719px) {
  .top { width: calc(100% - 16px); top: 8px; }
  .top.scrolled { max-width: none; width: calc(100% - 48px); }
}
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { font-size: 14px; color: var(--tx3); text-decoration: none; }
.topnav a:hover { color: var(--ink); }
@media (max-width: 539px) {
  .topnav { gap: 16px; }
  .topnav a[href^="#"] { display: none; }   /* keep spec + github on small screens */
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: 14px;
  padding: 11px 20px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease, color 140ms ease;
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: #000; }
.btn .ar { display: inline-block; transition: transform 180ms ease; }
.btn:hover .ar { transform: translateX(4px); }

/* ---- hero ---- */
.hero-grid {
  padding: 84px 0 76px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center;
}
@media (max-width: 919px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
}
.hero-logo { margin-bottom: 36px; }
.hero-logo .logo-svg { height: 56px; width: auto; }
.hero h1 { margin-bottom: 22px; max-width: 15ch; }
.lede { max-width: 58ch; margin-bottom: 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- terminal (dark surface on paper) ---- */
.term {
  background: var(--dk);
  border: 1px solid #16191c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 32px 80px -44px rgba(12, 14, 16, 0.55);
}
.term-head {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  font-size: 13px; color: var(--dk-tx3);
  border-bottom: 1px solid var(--dk-line);
  background: rgba(20, 23, 26, 0.7);
}
.dotlive {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--go);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70, 212, 133, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(70, 212, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 212, 133, 0); }
}
.term-body {
  height: 430px;
  padding: 14px 16px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 13px; line-height: 1.8;
}
.tl {
  white-space: pre-wrap;
  word-break: break-word;
  padding-left: 13ch; text-indent: -13ch;   /* wrapped lines align after the timestamp */
}
.tl .t { color: #4d565f; }
.tl .req { color: var(--dk-tx); }
.tl .res { color: var(--dk-tx2); }
.tl .dim { color: var(--dk-tx3); }
.tl .ok { color: var(--go); }
.tl .cursor {
  display: inline-block; width: 7px; height: 14px;
  background: var(--dk-tx); vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- the simulation ---- */
.simwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
@media (max-width: 767px) { .simwrap { grid-template-columns: 1fr; } }
.pane { min-width: 0; }
.pane canvas {
  display: block; width: 100%; height: auto;
  background: var(--dk);
  border: 1px solid #16191c;
  border-radius: 10px;
  box-shadow: 0 24px 60px -40px rgba(12, 14, 16, 0.5);
}
.pane-cap { font-size: 14px; color: var(--tx3); margin-bottom: 10px; }
.pane-cap b { color: var(--ink); font-weight: 600; }
.cap-pay { color: var(--go-ink); }
.simnote { max-width: 76ch; margin-top: 26px; }

/* ---- the exchange + its sequence diagram ---- */
.ex-grid {
  display: grid; grid-template-columns: minmax(0, 780px) auto;
  gap: 72px; align-items: start;
}
.seq {
  position: sticky; top: 120px;
  width: 240px; margin-top: 34px;
  overflow: visible;
}
.sq-t { font-family: var(--mono); font-size: 12px; fill: var(--tx3); }
.sq-l { font-family: var(--mono); font-size: 11.5px; fill: var(--tx3); }
.sq-m.go .sq-l { fill: var(--go-ink); }
.sq-life { stroke: var(--line2); stroke-width: 1.5; stroke-dasharray: 1 5; stroke-linecap: round; }
.sq-line { stroke: #9aa0a6; stroke-width: 1.5; }
.sq-m.go .sq-line { stroke: var(--go-ink); }
.sq-dot { fill: #6b7278; }
.sq-m.go .sq-dot { fill: var(--go-ink); }
.sq-ring { fill: var(--bg); stroke: #6b7278; stroke-width: 1.6; }
.sq-pulse { fill: none; stroke: var(--go-ink); stroke-width: 1.5; opacity: 0; }
@media (max-width: 979px) {
  .ex-grid { grid-template-columns: 1fr; }
  .seq { display: none; }
}
.xc { max-width: 780px; display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.xrow { position: relative; padding-left: 86px; }
.xrow .who {
  position: absolute; left: 0; top: 14px;
  font-size: 13px; color: var(--tx3);
}
.xrow.from-s .who { color: var(--ink); }
.xrow pre {
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  padding: 14px 18px;
  background: var(--dk);
  border: 1px solid #16191c;
  border-radius: 10px;
  overflow-x: auto;
  color: var(--dk-tx2);
}
.xrow pre { transition: border-color 200ms ease, transform 200ms ease; }
.xrow:hover pre { transform: translateX(3px); border-left-color: var(--go); }
.xrow.from-a pre { border-left: 2px solid #2d333a; }
.xrow.from-s pre { border-left: 2px solid #4d565f; }
.xrow pre b { color: var(--dk-tx); font-weight: 700; }
.xrow pre b.ok { color: var(--go); }
.xrow .note { font-size: 14px; color: var(--tx3); margin-top: 8px; max-width: 68ch; }
@media (max-width: 599px) {
  .xrow { padding-left: 0; padding-top: 24px; }
  .xrow .who { top: 0; }
}

/* ---- pull quote (words brighten on scroll) + the interactive X ---- */
.quote-grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: 64px; align-items: center;
}
.quote-sec blockquote {
  font-size: clamp(20px, 2.6vw, 29px);
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
  max-width: 36ch;
  border-left: 3px solid var(--go-ink);
  padding-left: 28px;
}
.qart svg { display: block; width: min(300px, 26vw); height: auto; overflow: visible; }
.qd {
  fill: #dde0e3;
  transform-box: fill-box; transform-origin: center;
}
.qd.glint { animation: glint 900ms ease-in-out; }
@keyframes glint {
  0%, 100% { fill: #dde0e3; transform: scale(1); }
  45% { fill: var(--tx3); transform: scale(1.3); }
}
@media (max-width: 899px) { .qart { display: none; } .quote-grid { grid-template-columns: 1fr; } }

/* ---- spec clauses + wire ---- */
.clauses {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px;
  margin: 34px 0 40px;
}
@media (max-width: 719px) { .clauses { grid-template-columns: 1fr; } }
.clauses p {
  font-size: 14px; max-width: 58ch;
  padding: 10px 14px; margin: -10px -14px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}
.clauses p:hover { background: #f0f1f3; }
.clauses b { display: flex; align-items: center; gap: 9px; }
.cx { width: 13px; height: 13px; flex: none; }
.cx circle { fill: var(--line2); transition: fill 200ms ease; }
.clauses p:hover .cx circle { fill: var(--ink); }
.wire pre {
  font-size: 13px; line-height: 1.7;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--dk-tx2);
}
.copybtn {
  margin-left: auto;
  font-family: var(--mono); font-size: 13px;
  color: var(--dk-tx3);
  background: none; border: 1px solid var(--dk-line); border-radius: 5px;
  padding: 3px 12px; cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease;
}
.copybtn:hover { color: var(--dk-tx); border-color: var(--dk-tx3); }
.specline { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.specline .meta { font-size: 13.5px; color: var(--tx3); }

/* ---- faq + the dot-matrix 429 ---- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 780px) auto;
  gap: 72px; align-items: center;
}
.faqart svg { display: block; width: min(300px, 24vw); height: auto; }
.faqart .md { animation: mwave 4s ease-in-out infinite; }
@keyframes mwave {
  0%, 100% { fill: #e3e5e8; }
  50% { fill: #a9afb6; }
}
@media (max-width: 979px) { .faq-grid { grid-template-columns: 1fr; } .faqart { display: none; } }
.faq { max-width: 780px; margin-top: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-size: 15px; color: var(--ink);
  padding: 18px 2px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.faq summary { transition: background-color 160ms ease; border-radius: 8px; padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.faq summary:hover { background: #f0f1f3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--tx3);
  display: inline-block;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }  /* + becomes × */
.faq details p { padding: 0 2px 20px; max-width: 70ch; overflow: hidden; }

/* ---- subscribe (+ the little queue waiting at the door) ---- */
#updates { position: relative; }
.uqueue {
  position: absolute; right: 40px; top: 50%;
  width: 230px; transform: translateY(-50%);
  overflow: visible;
}
.uqueue line { stroke: var(--line2); stroke-width: 2; }
.uqueue .uq circle { fill: var(--line2); }
.uqueue .uq { animation: unudge 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.uqueue .uring {
  fill: none; stroke: var(--go-ink); stroke-width: 1.8;
  transform-box: fill-box; transform-origin: center;
  animation: uring 3.2s ease-in-out infinite;
}
.uqueue .ugone { fill: var(--line2); opacity: 0.55; }
@keyframes unudge { 0%, 55%, 100% { transform: translateX(0); } 70%, 88% { transform: translateX(7px); } }
@keyframes uring { 0%, 55%, 100% { transform: scale(1); } 72% { transform: scale(1.22); } }
@media (max-width: 899px) { .uqueue { display: none; } }
.sub { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; max-width: 620px; }
.sub input {
  flex: 1; min-width: 240px;
  font-family: var(--mono); font-size: 14px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 6px;
}
.sub input::placeholder { color: var(--tx3); }
.sub input:focus { border-color: var(--ink); outline: none; }
.sub-cap { flex-basis: 100%; font-size: 13.5px; color: var(--tx3); }
.sub-msg { font-size: 13.5px; color: var(--tx2); margin-top: 12px; }

/* ---- footer: printed on the wire itself ---- */
.foot { padding: 6px 24px 44px; }
.foot-row {
  max-width: 1216px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--dk-tx3);
}
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark circle { fill: #4d565f; }
.foot-links a { color: var(--dk-tx3); text-decoration: none; }
.foot-links a:hover { color: var(--dk-tx); }
.foot-curl {
  color: var(--dk-tx3);
  font: inherit; background: none; border: none;
  cursor: pointer; padding: 0;
  transition: color 180ms ease;
}
.foot-curl:hover { color: var(--dk-tx); }
.foot-fine { max-width: 1216px; margin: 12px auto 0; font-size: 13px; color: var(--dk-tx3); }

/* bullet time: the sim invites inspection */
.pane canvas { cursor: crosshair; }

/* ---- animation initial states (GSAP owns the motion; JS only) ---- */
.js [data-r] { opacity: 0; transform: translateY(16px); }
.js .split-pre { opacity: 0; }               /* h1/h2/quote hidden until split */
.js #hero-logo .ld, .js #hero-logo .lg-word { opacity: 0; }
.js .hero-fade { opacity: 0; }

/* ---- reduced motion: final states, no library motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-r], .js .split-pre, .js .hero-fade { opacity: 1; transform: none; }
  .js #hero-logo .ld, .js #hero-logo .lg-word { opacity: 1; }
  .dotlive { animation: none; }
  .tl .cursor { display: none; }
}

/* ---- documentation: dense, practical, and built for repeated reference ---- */
.docs-page {
  background: var(--bg);
  color: var(--tx2);
}
.docs-page .top {
  margin-bottom: 0;
}
.docs-wordmark {
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}
.docs-shell {
  max-width: 1264px;
  width: calc(100% - 24px);
  margin: 34px auto 72px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 16px;
  max-height: calc(100vh - 112px);
  overflow: auto;
}
.docs-sidebar-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.docs-sidebar a {
  display: block;
  padding: 7px 0;
  color: var(--tx3);
  font-size: 13px;
  text-decoration: none;
}
.docs-sidebar a:hover {
  color: var(--ink);
}
.docs-content {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
}
.docs-hero,
.docs-section {
  padding: 44px;
  border-top: 1px solid var(--line);
}
.docs-hero {
  border-top: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f8 100%);
  border-radius: 10px 10px 0 0;
}
.docs-kicker {
  color: var(--go-ink);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.docs-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
}
.docs-lede {
  max-width: 78ch;
  font-size: 16px;
  margin-bottom: 24px;
}
.docs-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.docs-status-grid,
.docs-two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.docs-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.docs-status-grid > div,
.docs-note,
.docs-callout {
  border: 1px solid var(--line);
  background: #fbfbfc;
  border-radius: 8px;
  padding: 18px;
}
.docs-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 12px;
  font-weight: 700;
}
.docs-section h2 {
  margin-bottom: 14px;
}
.docs-section h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 28px 0 10px;
}
.docs-section p {
  max-width: 82ch;
  margin-bottom: 16px;
}
.docs-section pre {
  margin: 18px 0 24px;
  padding: 18px 20px;
  background: var(--dk);
  border: 1px solid #16191c;
  border-radius: 8px;
  color: var(--dk-tx2);
  overflow-x: auto;
}
.docs-section pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.65;
}
.docs-list,
.docs-checklist {
  padding-left: 22px;
  margin: 14px 0 22px;
}
.docs-list li,
.docs-checklist li {
  margin: 8px 0;
  max-width: 82ch;
}
.docs-checklist {
  list-style: none;
  padding-left: 0;
}
.docs-checklist li {
  position: relative;
  padding-left: 24px;
}
.docs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--go-ink);
}
.docs-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.docs-flow div {
  min-height: 128px;
  border: 1px solid var(--line);
  background: #fbfbfc;
  border-radius: 8px;
  padding: 16px;
}
.docs-flow b,
.docs-flow span {
  display: block;
}
.docs-flow b {
  margin-bottom: 8px;
}
.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 14px 0 24px;
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 13.5px;
}
.docs-table th,
.docs-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.docs-table th {
  color: var(--ink);
  background: #f6f7f8;
  font-weight: 700;
}
.docs-table tr:last-child td {
  border-bottom: 0;
}
.docs-faq {
  max-width: 880px;
  border-top: 1px solid var(--line);
}
.docs-faq details {
  border-bottom: 1px solid var(--line);
}
.docs-faq summary {
  cursor: pointer;
  color: var(--ink);
  padding: 16px 0;
}
.docs-faq p {
  padding-bottom: 18px;
}
.docs-callout {
  max-width: 82ch;
  background: #f0f8f4;
  border-color: #b7dfc7;
}
@media (max-width: 980px) {
  .docs-shell {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    max-height: none;
  }
  .docs-sidebar-title {
    flex-basis: 100%;
  }
  .docs-sidebar a {
    padding: 3px 0;
  }
  .docs-status-grid,
  .docs-two,
  .docs-flow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .docs-shell {
    width: calc(100% - 16px);
    margin-top: 18px;
  }
  .docs-hero,
  .docs-section {
    padding: 28px 20px;
  }
  .docs-content,
  .docs-hero {
    border-radius: 8px;
  }
}

/* ---- documentation v2: multi-page protocol manual ---- */
.docs-page {
  background:
    linear-gradient(180deg, #f7f8f9 0%, #ffffff 420px),
    #ffffff;
}
.docs-page .top {
  width: calc(100% - 32px);
  max-width: 1360px;
  margin-top: 16px;
}
.docs-page .docs-top.scrolled {
  max-width: 980px;
}
.docs-layout,
.docs-shell {
  width: calc(100% - 32px);
  max-width: 1360px;
  margin: 34px auto 84px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.docs-article,
.docs-content {
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  box-shadow: 0 24px 70px -54px rgba(12, 14, 16, 0.45);
}
.docs-sidebar {
  position: sticky;
  top: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border-radius: 12px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  box-shadow: 0 18px 54px -48px rgba(12, 14, 16, 0.4);
}
.docs-sidebar-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.docs-group {
  padding: 8px 0 12px;
  border-bottom: 1px solid #eff0f1;
}
.docs-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.docs-group span {
  display: block;
  margin: 2px 0 7px;
  color: var(--tx3);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.docs-sidebar a {
  position: relative;
  display: block;
  margin: 2px -8px;
  padding: 7px 8px 7px 14px;
  border-radius: 6px;
  color: var(--tx2);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.docs-sidebar a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: transparent;
}
.docs-sidebar a:hover {
  color: var(--ink);
  background: #f2f4f5;
}
.docs-sidebar a.docs-current {
  color: var(--ink);
  background: #eef7f2;
  font-weight: 800;
}
.docs-sidebar a.docs-current::before {
  background: var(--go-ink);
}
.docs-hero,
.docs-section {
  padding: 48px;
  border-top: 1px solid var(--line);
}
.docs-hero {
  border-top: 0;
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(90deg, rgba(10, 124, 76, 0.08) 0, rgba(10, 124, 76, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #f5f6f7 100%);
}
.docs-hero-pro {
  position: relative;
  overflow: hidden;
}
.docs-hero-pro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 14, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 14, 16, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 72%, transparent 100%);
  opacity: 0.65;
}
.docs-hero > * {
  position: relative;
  z-index: 1;
}
.docs-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.docs-lede {
  max-width: 84ch;
  color: var(--tx2);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.docs-kicker {
  color: var(--go-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 13px;
}
.docs-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.docs-title-row h2,
.docs-title-row .docs-kicker {
  margin-bottom: 0;
}
.docs-meta {
  flex: none;
  color: var(--tx3);
  font-size: 12px;
}
.docs-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}
.docs-card-grid,
.docs-status-grid,
.docs-flow-large,
.docs-next-grid {
  display: grid;
  gap: 14px;
}
.docs-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.docs-card-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.docs-card,
.docs-card-static,
.docs-status-grid > div,
.docs-note,
.docs-callout,
.docs-flow div,
.docs-next-grid a {
  border: 1px solid var(--line);
  background: #fbfbfc;
  border-radius: 8px;
}
.docs-card,
.docs-next-grid a {
  display: block;
  color: var(--tx2);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, background-color 150ms ease;
}
.docs-card {
  min-height: 190px;
  padding: 18px;
}
.docs-card:hover,
.docs-next-grid a:hover {
  border-color: var(--ink);
  background: #ffffff;
  transform: translateY(-1px);
}
.docs-card span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 12px;
  font-weight: 800;
}
.docs-card h3,
.docs-card-static h3,
.docs-status-grid h3,
.docs-flow b {
  color: var(--ink);
}
.docs-card h3,
.docs-card-static h3,
.docs-status-grid h3 {
  font-size: 16px;
  margin: 0 0 9px;
}
.docs-card p,
.docs-card-static p,
.docs-status-grid p {
  margin: 0;
}
.docs-card-static {
  padding: 18px;
}
.docs-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.docs-status-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.docs-status-grid > div,
.docs-note,
.docs-callout {
  padding: 18px;
}
.docs-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  font-size: 11px;
  font-weight: 800;
}
.docs-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line2);
}
.docs-pill-good {
  border-color: #b7dfc7;
  background: #f0f8f4;
}
.docs-pill-good::before {
  background: var(--go-ink);
}
.docs-pill-warn {
  border-color: #ead9a2;
  background: #fff9e8;
}
.docs-pill-warn::before {
  background: #b38418;
}
.docs-flow,
.docs-flow-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}
.docs-flow-large div {
  min-height: 154px;
}
.docs-flow div {
  padding: 18px;
}
.docs-flow b,
.docs-flow span {
  display: block;
}
.docs-flow b {
  margin-bottom: 9px;
}
.docs-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.docs-section h2 {
  margin-bottom: 16px;
  letter-spacing: 0;
}
.docs-section h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 28px 0 10px;
}
.docs-section p {
  max-width: 84ch;
  margin-bottom: 16px;
}
.docs-section code {
  white-space: nowrap;
}
.docs-section pre {
  margin: 18px 0 24px;
  padding: 18px 20px;
  background: var(--dk);
  border: 1px solid #16191c;
  border-radius: 8px;
  color: var(--dk-tx2);
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.docs-section pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  white-space: pre;
  font-size: 13px;
  line-height: 1.65;
}
.docs-list,
.docs-checklist {
  padding-left: 22px;
  margin: 14px 0 22px;
}
.docs-list li,
.docs-checklist li {
  margin: 8px 0;
  max-width: 84ch;
}
.docs-checklist {
  list-style: none;
  padding-left: 0;
}
.docs-checklist li {
  position: relative;
  padding-left: 25px;
}
.docs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--go-ink);
}
.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 14px 0 24px;
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 13.5px;
}
.docs-table th,
.docs-table td {
  text-align: left;
  vertical-align: top;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.docs-table th {
  color: var(--ink);
  background: #f3f5f6;
  font-weight: 800;
}
.docs-table tr:last-child td {
  border-bottom: 0;
}
.docs-note {
  max-width: 84ch;
}
.docs-callout {
  max-width: 84ch;
  background: #f0f8f4;
  border-color: #b7dfc7;
}
.docs-next-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.docs-next-grid a {
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}
.docs-next-grid span {
  display: block;
  margin-top: 6px;
  color: var(--tx3);
  font-weight: 400;
}
.docs-faq {
  max-width: 900px;
  border-top: 1px solid var(--line);
}
.docs-faq details {
  border-bottom: 1px solid var(--line);
}
.docs-faq summary {
  cursor: pointer;
  color: var(--ink);
  padding: 16px 0;
}
.docs-faq p {
  padding-bottom: 18px;
}
@media (max-width: 1120px) {
  .docs-card-grid,
  .docs-status-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .docs-layout,
  .docs-shell {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-height: none;
  }
  .docs-sidebar-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .docs-group {
    border-bottom: 0;
    padding: 0;
  }
  .docs-status-grid,
  .docs-flow,
  .docs-flow-large,
  .docs-two,
  .docs-next-grid,
  .docs-card-grid-compact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .docs-page .top {
    width: calc(100% - 16px);
  }
  .docs-page .topnav {
    gap: 12px;
  }
  .docs-page .topnav a[href="/llms.txt"] {
    display: none;
  }
  .docs-layout,
  .docs-shell {
    width: calc(100% - 16px);
    margin-top: 18px;
  }
  .docs-hero,
  .docs-section {
    padding: 30px 20px;
  }
  .docs-sidebar {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .docs-card-grid,
  .docs-status-grid-wide {
    grid-template-columns: 1fr;
  }
  .docs-title-row {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 460px) {
  .docs-page .topnav a[href="https://github.com/x429-protocol/x429"] {
    display: none;
  }
  .docs-sidebar {
    grid-template-columns: 1fr;
  }
  .docs-card {
    min-height: auto;
  }
}

/* ---- theme toggle: one control, every page ---- */
.theme-toggle {
  position: relative;
  flex: none;
  width: 58px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(12, 14, 16, 0.14);
  border-radius: 999px;
  background: #eef1f3;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 160ms ease;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 14, 16, 0.34);
}
.theme-toggle__track {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 24% 28%, rgba(255,255,255,0.95) 0 2px, transparent 2.5px),
    linear-gradient(135deg, #edf3f7 0%, #dfe7ec 100%);
  transition: background 360ms ease;
}
.theme-toggle__orb {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(12, 14, 16, 0.18);
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), background-color 260ms ease;
}
.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  transition: opacity 240ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-toggle__sun {
  background: #f5b84b;
  box-shadow:
    0 -7px 0 -5px #f5b84b,
    0 7px 0 -5px #f5b84b,
    7px 0 0 -5px #f5b84b,
    -7px 0 0 -5px #f5b84b;
}
.theme-toggle__moon {
  opacity: 0;
  transform: translateX(5px) scale(0.82);
  background: #eef3f6;
  box-shadow: -4px 0 0 0 #20262c;
}
.theme-toggle__stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d9eefc;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 260ms ease, transform 360ms ease;
}
.theme-toggle__stars span:nth-child(1) { left: 14px; top: 8px; }
.theme-toggle__stars span:nth-child(2) { left: 23px; top: 21px; width: 2px; height: 2px; }
.theme-toggle__stars span:nth-child(3) { left: 33px; top: 10px; width: 2px; height: 2px; }
.theme-toggle[data-theme="dark"] {
  border-color: rgba(255, 255, 255, 0.2);
  background: #111820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.theme-toggle[data-theme="dark"] .theme-toggle__track {
  background:
    radial-gradient(circle at 28% 30%, rgba(217,238,252,0.95) 0 1.5px, transparent 2px),
    radial-gradient(circle at 48% 72%, rgba(217,238,252,0.75) 0 1px, transparent 1.5px),
    linear-gradient(135deg, #081019 0%, #1a2631 100%);
}
.theme-toggle[data-theme="dark"] .theme-toggle__orb {
  transform: translateX(26px);
  background: #20262c;
}
.theme-toggle[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.62);
}
.theme-toggle[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: translateX(2px) scale(1);
}
.theme-toggle[data-theme="dark"] .theme-toggle__stars span {
  opacity: 1;
  transform: scale(1);
}
.theme-wipe {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  will-change: clip-path, opacity;
}
:root.theme-switching * {
  transition:
    background-color 420ms ease,
    border-color 420ms ease,
    color 420ms ease,
    fill 420ms ease,
    stroke 420ms ease,
    box-shadow 420ms ease;
}

/* ---- dark theme surface tuning ---- */
:root[data-theme="dark"] body {
  background: var(--dk);
}
:root[data-theme="dark"] ::selection {
  background: var(--ink);
  color: var(--dk);
}
:root[data-theme="dark"] .slab {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 90px -46px rgba(0, 0, 0, 0.95);
}
:root[data-theme="dark"] .top {
  background: rgba(18, 22, 26, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 50px -30px rgba(0, 0, 0, 0.9);
}
:root[data-theme="dark"] .top .lg-dots circle {
  fill: #8b949d;
}
:root[data-theme="dark"] .top .lg-word path {
  fill: var(--ink);
}
:root[data-theme="dark"] .topnav a {
  color: var(--tx3);
}
:root[data-theme="dark"] .topnav a:hover {
  color: var(--ink);
}
:root[data-theme="dark"] .btn {
  background: #15191d;
  color: var(--ink);
  border-color: var(--line2);
}
:root[data-theme="dark"] .btn:hover {
  border-color: rgba(255, 255, 255, 0.72);
}
:root[data-theme="dark"] .btn-primary {
  background: #f2f5f7;
  color: #080a0c;
  border-color: #f2f5f7;
}
:root[data-theme="dark"] .clauses p:hover,
:root[data-theme="dark"] .faq summary:hover {
  background: #171c21;
}
:root[data-theme="dark"] .sub input {
  background: #101418;
  color: var(--ink);
}
:root[data-theme="dark"] .term {
  border-color: #222930;
}
:root[data-theme="dark"] .qd {
  fill: #333a42;
}
:root[data-theme="dark"] .foot-mark circle {
  fill: #77818b;
}

/* ---- dark theme docs ---- */
:root[data-theme="dark"] .docs-page {
  background:
    linear-gradient(180deg, #090b0d 0%, #0d1013 420px),
    #0d1013;
}
:root[data-theme="dark"] .docs-page .top {
  background: rgba(16, 20, 24, 0.92);
}
:root[data-theme="dark"] .docs-wordmark {
  color: var(--ink);
}
:root[data-theme="dark"] .docs-article,
:root[data-theme="dark"] .docs-content,
:root[data-theme="dark"] .docs-sidebar {
  background: #111519;
  border-color: var(--line);
  box-shadow: 0 24px 80px -56px rgba(0, 0, 0, 0.95);
}
:root[data-theme="dark"] .docs-sidebar {
  background: linear-gradient(180deg, #12171b 0%, #0f1317 100%);
}
:root[data-theme="dark"] .docs-sidebar-title,
:root[data-theme="dark"] .docs-group {
  border-color: #222930;
}
:root[data-theme="dark"] .docs-sidebar a:hover {
  background: #1a2026;
}
:root[data-theme="dark"] .docs-sidebar a.docs-current {
  background: rgba(99, 223, 160, 0.12);
}
:root[data-theme="dark"] .docs-hero {
  background:
    linear-gradient(90deg, rgba(99, 223, 160, 0.11) 0, rgba(99, 223, 160, 0) 42%),
    linear-gradient(180deg, #151a1f 0%, #101419 100%);
}
:root[data-theme="dark"] .docs-hero-pro::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
:root[data-theme="dark"] .docs-card,
:root[data-theme="dark"] .docs-card-static,
:root[data-theme="dark"] .docs-status-grid > div,
:root[data-theme="dark"] .docs-note,
:root[data-theme="dark"] .docs-flow div,
:root[data-theme="dark"] .docs-next-grid a {
  background: #13181d;
  border-color: var(--line);
}
:root[data-theme="dark"] .docs-card:hover,
:root[data-theme="dark"] .docs-next-grid a:hover {
  background: #171d23;
  border-color: rgba(255, 255, 255, 0.64);
}
:root[data-theme="dark"] .docs-card span:first-child,
:root[data-theme="dark"] .docs-pill {
  background: #101419;
  border-color: var(--line2);
}
:root[data-theme="dark"] .docs-pill-good,
:root[data-theme="dark"] .docs-callout {
  background: rgba(99, 223, 160, 0.12);
  border-color: rgba(99, 223, 160, 0.34);
}
:root[data-theme="dark"] .docs-pill-warn {
  background: rgba(179, 132, 24, 0.14);
  border-color: rgba(234, 217, 162, 0.3);
}
:root[data-theme="dark"] .docs-table-wrap {
  border-color: var(--line);
}
:root[data-theme="dark"] .docs-table th {
  background: #171d23;
}
:root[data-theme="dark"] .docs-table td,
:root[data-theme="dark"] .docs-table th {
  border-color: var(--line);
}
:root[data-theme="dark"] .docs-faq,
:root[data-theme="dark"] .docs-faq details {
  border-color: var(--line);
}

@media (max-width: 719px) {
  .top {
    gap: 12px;
  }
  .theme-toggle {
    width: 52px;
    height: 30px;
  }
  .theme-toggle__orb {
    width: 20px;
    height: 20px;
  }
  .theme-toggle[data-theme="dark"] .theme-toggle__orb {
    transform: translateX(22px);
  }
}
