@font-face {
  font-family: "Montserrat Wordmark";
  src: url("../fonts/montserrat-wordmark.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}
:root {
  --ember: #FF7A1A;
  --ember-deep: #F2541B;
  --ember-hi: #FFAE63;
  --on-ember: #1A0F06;
  --ink: #1B1C20;
  --ink-muted: #5E584F;
  --ember-ink: #A33A0B;
  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;
  --header-h: 64px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-word: "Montserrat Wordmark", "Archivo", sans-serif;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
}
:root {
  color-scheme: dark;
  --page: #101114;
  --band: #15161A;
  --text: #ECE8E1;
  --text-2: #D6D1C8;
  --muted: #A5A099;
  --accent: #FFAE63;
  --retyped: #FF9B6B;
  --error: #FFB590;
  --error-line: #FF8F66;
  --hair: rgba(235, 228, 216, .10);
  --hair-2: rgba(235, 228, 216, .18);
  --wash: 251 248 241;
  --shade: 0 0 0;
  --sh: 1;
  --key: 255 122 26;
  --key-k: 1;
  --fill: 196 187 173;
  --fill-k: 1;
  --glow-k: 1;
  --win-1: #202127;
  --win-2: #191A1F;
  --win-line: rgba(235, 228, 216, .14);
  --win-hi: rgba(251, 248, 241, .07);
  --note: #18191D;
  --sunk: #111216;
  --chip: #23242A;
  --field-line: #77716A;
  --field-line-hi: #938C84;
  --grid-line: #7A756E;
  --grid-a: .24;
  --avatar: #2C2E35;
  --avatar-d: #3A2A20;
  --avatar-d-text: #FFD2AE;
  --port: #18191D;
  --port-line: rgba(196, 187, 173, .7);
  --mineral: #C4BBAD;
  --switch-off: rgba(251, 248, 241, .16);
  --paper-1: #F3EDE2;
  --paper-2: #EBE4D8;
  --paper-3: #E2DACB;
  --header-bg: rgba(16, 17, 20, .76);
  --grain-a: .06;
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #F3EDE2;
  --band: #EBE4D8;
  --text: #1B1C20;
  --text-2: #3A3732;
  --muted: #5E584F;
  --accent: #A33A0B;
  --retyped: #A3260B;
  --error: #A3260B;
  --error-line: #A3260B;
  --hair: rgba(27, 28, 32, .12);
  --hair-2: rgba(27, 28, 32, .20);
  --wash: 74 52 30;
  --shade: 74 52 30;
  --sh: .42;
  --key: 255 253 248;
  --key-k: 3.4;
  --fill: 255 250 242;
  --fill-k: 4;
  --glow-k: .4;
  --win-1: #FBF8F1;
  --win-2: #F4EEE4;
  --win-line: rgba(27, 28, 32, .14);
  --win-hi: rgba(255, 255, 255, .8);
  --note: #FFFDF8;
  --sunk: #F4EEE4;
  --chip: #FFFDF8;
  --field-line: #8A8276;
  --field-line-hi: #6F685E;
  --grid-line: #A89F91;
  --grid-a: .42;
  --avatar: #E4DDD1;
  --avatar-d: #F5DCC6;
  --avatar-d-text: #7A2E0A;
  --port: #FFFDF8;
  --port-line: rgba(94, 88, 79, .6);
  --mineral: #8A8276;
  --switch-off: rgba(27, 28, 32, .18);
  --paper-1: #FFFDF8;
  --paper-2: #FBF8F1;
  --paper-3: #F1EBE0;
  --header-bg: rgba(243, 237, 226, .84);
  --grain-a: .035;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background-color: var(--page);
}
@media (max-width: 1023.98px) {
  html { scroll-padding-top: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  body { font-size: 1.125rem; }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/grain.png");
  background-size: 160px 160px;
  opacity: var(--grain-a);
}
body > * { position: relative; z-index: 1; }
main { display: block; overflow-x: clip; }
.theme-switching,
.theme-switching *,
.theme-switching *::before,
.theme-switching *::after { transition: none !important; }
img, svg { display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--text);
  color: var(--page);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--ember-deep); }
.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
.section-title {
  font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3.1rem);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.022em;
  color: var(--text);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link .ico { width: 1.05em; height: 1.05em; stroke-width: 2; }
.example {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
  white-space: nowrap;
}
.btn {
  --btn-bg: linear-gradient(180deg, #FF8A33 0%, var(--ember) 48%, #F86A1C 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 0 1.4em;
  border: 0;
  border-radius: 6px;
  background: var(--btn-bg);
  color: var(--on-ember);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 106%;
  letter-spacing: .005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .28) inset,
    0 0 0 1px rgba(242, 84, 27, .55),
    0 10px 28px -10px rgb(255 122 26 / calc(.55 * var(--glow-k)));
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .32) inset,
    0 0 0 1px rgba(242, 84, 27, .7),
    0 16px 36px -12px rgb(255 122 26 / calc(.7 * var(--glow-k)));
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 4px; }
.btn--small { min-height: 44px; padding: 0 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.site-header { z-index: 20; }
@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 var(--hair);
  }
}
.site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  min-height: var(--header-h);
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
}
.lockup__mark { width: 27px; height: auto; }
.lockup__word,
.site-footer__word {
  font-family: var(--font-word);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.012em;
}
.lockup__ember { color: var(--ember); }
.lockup__wright { color: var(--text); }
:root[data-theme="light"] .lockup__ember { color: var(--ember-ink); }
@media (min-width: 1024px) {
  .lockup__mark { width: 31px; }
  .lockup__word { font-size: 1.45rem; }
}
.site-nav ul { list-style: none; display: flex; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--text-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
  background: linear-gradient(var(--ember), var(--ember)) 50% calc(100% - 8px) / 0 2px no-repeat;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  background-size: 100% 2px;
}
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid var(--hair-2);
  border-radius: 50%;
  background: rgb(var(--wash) / .04);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle .ico { grid-area: 1 / 1; width: 20px; height: 20px; stroke-width: 1.7; }
.theme-toggle .ico--fill { fill: currentColor; stroke: none; opacity: 0; transition: opacity .2s; }
.theme-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.theme-toggle[aria-pressed="true"] .ico--fill { opacity: 1; }
.site-header__cta { margin-left: 6px; }
@media (min-width: 900px) {
  .site-nav { margin-right: 14px; }
}
@media (max-width: 899.98px) {
  .site-header__inner { padding-top: 8px; }
  .site-nav { order: 3; flex: 1 0 100%; margin: 0 -2px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: .9375rem; }
}
@media (max-width: 479.98px) {
  .site-header__cta { display: none; }
}
.site-footer {
  padding-block: 32px 44px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: .9375rem;
}
.site-footer__inner {
  display: grid;
  gap: 14px 32px;
  align-items: center;
}
.site-footer p { margin: 0; }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-underline-offset: .2em;
}
.site-footer a:hover { color: var(--accent); }
.site-footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
@media (min-width: 1024px) {
  .site-footer__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-footer__nav { justify-self: center; }
}
.page-head {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px) clamp(36px, 4.5vw, 64px);
}
.page-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18%;
  top: -40%;
  width: 92%;
  height: 150%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--key) / calc(.12 * var(--key-k))), rgb(var(--key) / calc(.04 * var(--key-k))) 55%, transparent);
}
.page-head__kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.page-title {
  max-width: 17em;
  font-size: clamp(2.3rem, 1.3rem + 3vw, 4rem);
  font-stretch: 112%;
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.032em;
}
.page-head__lede {
  max-width: 38em;
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  line-height: 1.55;
}
.page-section {
  position: relative;
  padding-block: clamp(44px, 5.4vw, 80px);
  border-top: 1px solid var(--hair);
}
.page-section--flush { border-top: 0; padding-top: 0; }
.page-section__title {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 1.15rem + 1vw, 2.1rem);
  font-stretch: 110%;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.018em;
}
.prose { max-width: 40em; }
.prose p { color: var(--text-2); }
.prose p:last-child { margin-bottom: 0; }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); }
  .split--even { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.steps { list-style: none; display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ember);
  color: var(--accent);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 6px; font-size: 1.1875rem; font-stretch: 106%; line-height: 1.3; padding-top: 4px; }
.steps p { margin: 0; color: var(--text-2); max-width: 36em; }
@media (min-width: 1024px) {
  .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}
.facts-list { list-style: none; display: grid; gap: 14px; }
.facts-list li { position: relative; padding-left: 22px; color: var(--text-2); max-width: 38em; }
.facts-list strong { color: var(--text); font-weight: 600; }
.facts-list a,
.prose a:not(.text-link) { color: var(--accent); text-underline-offset: .2em; }
.facts-list a:hover,
.prose a:not(.text-link):hover { text-decoration-thickness: 2px; }
.page-section__more { margin: 18px 0 0; }
.facts-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 44em;
  margin: 28px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: rgb(var(--wash) / .03);
  color: var(--text);
}
.notice .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.notice p { margin: 0; }
.cta-band {
  position: relative;
  padding-block: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--hair);
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(1300px, 140vw);
  height: 180%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--key) / calc(.13 * var(--key-k))), rgb(var(--key) / calc(.04 * var(--key-k))) 55%, transparent);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band__title {
  max-width: 20em;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  font-stretch: 110%;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.016em;
}
.cta-band__text { margin: 8px 0 0; color: var(--text-2); max-width: 34em; }
.path { list-style: none; margin-top: 18px; }
.path li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}
.path li:last-child { border-bottom: 0; }
.path__when { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; padding-top: .1em; }
.path__what { color: var(--text); }
.path__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: .5em;
  padding: 0 8px;
  border: 1px solid var(--hair-2);
  border-radius: 99px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  vertical-align: .1em;
  white-space: nowrap;
}
.path__link:hover { border-color: var(--accent); }
@media (max-width: 479.98px) {
  .path li { grid-template-columns: 1fr; gap: 2px; }
}
.path--page { margin-top: 0; }
.path--page li { padding: 16px 0; }
.path--page .path__what { font-size: 1.125rem; line-height: 1.5; }
.board__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: 14px;
}
.board__name { margin: 0; color: var(--text); font-weight: 600; font-stretch: 106%; }
.board__bar .example { margin-right: auto; }
.board__toggle {
  min-width: 96px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair-2);
  border-radius: 6px;
  background: rgb(var(--wash) / .04);
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.board__toggle:hover { border-color: var(--accent); background: rgb(255 122 26 / .08); }
.board__toggle[hidden] { display: none; }
.board--reset,
.board--reset * { transition: none !important; }
.board__plate {
  position: relative;
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 16px;
  background:
    radial-gradient(circle at 1px 1px, rgb(var(--wash) / .12) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--note) 0%, var(--sunk) 100%);
  border: 1px solid var(--hair-2);
  box-shadow:
    0 0 0 1px rgb(var(--shade) / calc(.4 * var(--sh))),
    inset 0 1px 0 var(--win-hi),
    0 60px 120px -60px rgb(var(--shade) / calc(.95 * var(--sh)));
}
.board__plate::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--key) / calc(.07 * var(--key-k))), transparent);
}
:root[data-theme="light"] .board__plate { background: radial-gradient(circle at 1px 1px, rgba(74, 52, 30, .16) 1px, transparent 1.4px) 0 0 / 22px 22px, linear-gradient(180deg, #FBF8F1 0%, #F4EEE4 100%); }
.board__wires {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.bw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bw--base { stroke: var(--port-line); stroke-width: 1.5; opacity: .6; }
.bw--lit { stroke: var(--ember); stroke-width: 2; filter: drop-shadow(0 0 4px rgb(255 122 26 / calc(.8 * var(--glow-k)))); }
.bw-port { fill: var(--port); stroke: var(--port-line); stroke-width: 1.5; }
.bw-ring { fill: none; stroke: var(--ember-hi); stroke-width: 1.5; opacity: 0; }
.bw-pulse { opacity: 0; }
.board__parts {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 28px;
}
.board__parts > .part { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 12px; }
.part__ui {
  position: relative;
  min-height: 166px;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--win-1) 0%, var(--win-2) 100%);
  border: 1px solid var(--win-line);
  box-shadow:
    0 0 0 1px rgb(var(--shade) / calc(.3 * var(--sh))),
    inset 0 1px 0 var(--win-hi),
    0 20px 40px -22px rgb(var(--shade) / calc(.9 * var(--sh)));
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-2);
  transition: border-color .4s, box-shadow .4s;
}
.part.is-hit .part__ui {
  border-color: rgb(255 122 26 / .6);
  box-shadow:
    0 0 0 1px rgb(var(--shade) / calc(.3 * var(--sh))),
    inset 0 1px 0 var(--win-hi),
    0 20px 40px -22px rgb(var(--shade) / calc(.9 * var(--sh))),
    0 0 34px -10px rgb(255 122 26 / calc(.45 * var(--glow-k)));
}
.part__title {
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 106%;
  line-height: 1.3;
  color: var(--text);
}
.fx__title { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; color: var(--text); font-size: .875rem; font-weight: 650; font-stretch: 106%; }
.fx__id { color: var(--muted); font-weight: 500; font-size: .75rem; font-variant-numeric: tabular-nums; }
.fx-swap { display: inline-grid; }
.fx-swap > * { grid-area: 1 / 1; transition: opacity .35s, visibility .35s; }
.fx-swap > [data-a] { opacity: 0; visibility: hidden; }
.fx-swap[data-pending] > [data-a],
[data-pending] > .fx-swap > [data-a] { opacity: 1; visibility: visible; }
.fx-swap[data-pending] > [data-b],
[data-pending] > .fx-swap > [data-b] { opacity: 0; visibility: hidden; }
.fx-field { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--hair); }
.fx-field__k { color: var(--muted); font-size: .75rem; }
.fx-field__v { color: var(--text); white-space: nowrap; }
.fx-send {
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgb(255 122 26 / .55);
  background: rgb(255 122 26 / .1);
  color: var(--accent);
  font-weight: 600;
  transition: background-color .35s, color .35s;
}
.fx-send[data-pending] { background: var(--ember); color: var(--on-ember); }
.fx-checks { list-style: none; display: grid; gap: 6px; }
.fx-checks li { display: flex; align-items: center; gap: 10px; color: var(--text); transition: color .3s; }
.fx-tick {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ember);
  border: 1.5px solid var(--ember);
  transition: background-color .3s, border-color .3s;
}
.fx-tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid var(--on-ember);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: opacity .3s;
}
.fx-checks li[data-pending] { color: var(--muted); }
.fx-checks li[data-pending] .fx-tick { background: transparent; border-color: var(--port-line); }
.fx-checks li[data-pending] .fx-tick::after { opacity: 0; }
.fx-route { margin: 10px 0 0; padding: 5px 10px; border-radius: 6px; background: rgb(var(--wash) / .05); color: var(--text); font-size: .75rem; }
.fx-line, .fx-total { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.fx-line { padding: 3px 0; border-bottom: 1px solid var(--hair); }
.fx-line span:last-child { color: var(--text); }
.fx-line[data-new-line] { clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-out); }
.fx-line[data-new-line][data-pending] { clip-path: inset(0 100% 0 0); }
.fx-total { align-items: baseline; padding-top: 5px; color: var(--muted); }
.fx-total span:last-child { color: var(--text); font-size: 1rem; font-weight: 700; font-stretch: 108%; }
.fx-note { margin: 6px 0 0; }
.fx-note .fx-swap { padding: 1px 9px; border-radius: 99px; background: rgb(255 122 26 / .12); color: var(--accent); font-size: .75rem; font-weight: 600; }
.fx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; }
.fx-col { min-width: 0; padding: 7px; border-radius: 8px; background: rgb(var(--shade) / calc(.25 * var(--sh))); }
:root[data-theme="light"] .fx-col { background: rgba(74, 52, 30, .06); }
.fx-col__k { margin: 0 0 6px; color: var(--muted); font-size: .75rem; font-weight: 500; }
.fx-card {
  display: grid;
  gap: 1px;
  margin-bottom: 6px;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--chip);
  border: 1px solid var(--hair);
  font-size: .75rem;
}
.fx-card b { color: var(--text); font-weight: 600; font-size: .8125rem; }
.fx-card--hot { position: relative; z-index: 1; border-color: rgb(255 122 26 / .65); box-shadow: 0 10px 24px -12px rgb(255 122 26 / calc(.55 * var(--glow-k))); }
.fx-card--hot .fx-swap { color: var(--accent); }
.fx-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.fx-pill { padding: 1px 10px; border-radius: 99px; background: var(--ember); color: var(--on-ember); font-size: .75rem; font-weight: 650; transition: background-color .35s, color .35s; }
.fx-pill[data-pending] { background: rgb(var(--wash) / .1); color: var(--text); }
.fx-file {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgb(var(--wash) / .05);
  border: 1px solid var(--hair);
  color: var(--text);
  clip-path: inset(0 0 0 0);
  transition: clip-path .6s var(--ease-out);
}
.fx-file[data-pending] { clip-path: inset(0 100% 0 0); }
.fx-file .ico { color: var(--mineral); }
.fx-msg { display: grid; gap: 1px; margin: 8px 0 0; padding: 6px 10px; border-radius: 8px 8px 8px 2px; background: rgb(var(--wash) / .06); }
.fx-msg b { color: var(--text); font-size: .75rem; font-weight: 600; }
.fx-bars { display: grid; gap: 8px; }
.fx-bar { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 1.4rem; align-items: center; gap: 10px; }
.fx-bar > span:first-child { color: var(--text-2); font-size: .75rem; }
.fx-bar__track { height: 9px; border-radius: 99px; background: rgb(var(--wash) / .08); overflow: hidden; }
.fx-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember-hi));
  transform: scaleX(var(--v));
  transform-origin: 0 50%;
}
.fx-bar b { justify-self: end; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-foot { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--hair); color: var(--text-2); font-size: .75rem; }
@media (max-width: 639.98px) {
  .board__plate { padding: 18px 14px 18px 30px; }
  .board__parts { gap: 24px; }
}
@media (min-width: 640px) {
  .board__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
}
@media (min-width: 1024px) {
  .board__parts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 48px; }
}
.part-rows { list-style: none; display: grid; gap: clamp(32px, 4vw, 56px); }
.part-row { display: grid; gap: 18px; align-items: center; }
.part-row .part__ui { width: 100%; max-width: 25rem; }
.part-row__title {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  font-stretch: 108%;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.012em;
}
.part-row__text p { margin: 0; color: var(--text-2); max-width: 34em; }
.part-row__text p + p { margin-top: 10px; }
@media (min-width: 760px) {
  .part-row { grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); }
}
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { margin: 0; color: var(--text-2); max-width: 40em; }
.tabs__list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--hair-2);
}
.tab {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 12px 18px 16px;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.tab:hover { color: var(--text); }
.tab__name { font-size: 1rem; font-weight: 600; font-stretch: 106%; line-height: 1.25; }
.tab__status { font-size: .8125rem; color: var(--muted); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: var(--ember);
  box-shadow: 0 0 12px rgb(255 122 26 / calc(.6 * var(--glow-k)));
}
.tab:focus-visible { outline-offset: -2px; }
@media (max-width: 639.98px) {
  .tabs__list { gap: 0; }
  .tab { flex: 1 1 0; padding: 10px 8px 14px; }
  .tab__name { font-size: .9375rem; }
  .tab[aria-selected="true"]::after { left: 8px; right: 8px; }
}
.panel { display: grid; gap: 28px; padding-top: 36px; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
@media (min-width: 1024px) {
  .panel { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
}
.panel__title {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -.012em;
}
.panel__copy p { margin: 0; color: var(--text-2); max-width: 34em; }
.panel__copy p + p { margin-top: 14px; }
.ui {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--win-1) 0%, var(--win-2) 100%);
  border: 1px solid var(--win-line);
  box-shadow:
    0 0 0 1px rgb(var(--shade) / calc(.35 * var(--sh))),
    0 40px 80px -40px rgb(var(--shade) / calc(.9 * var(--sh))),
    0 30px 90px -50px rgb(255 122 26 / calc(.35 * var(--glow-k))),
    inset 0 1px 0 var(--win-hi);
  font-size: .875rem;
  line-height: 1.4;
  color: var(--text-2);
}
.ui__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
}
.ui__app { color: var(--text); font-weight: 700; font-stretch: 110%; }
.ui__tabs { display: flex; gap: 14px; color: var(--muted); font-size: .8125rem; }
.ui__tabs .is-on { color: var(--text); }
.ui__bar .example { margin-left: auto; font-size: .75rem; }
.ui .ico { width: 1.15em; height: 1.15em; }
@media (max-width: 479.98px) {
  .ui__tabs { display: none; }
}
.pipe { display: grid; }
.pipe__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}
.pipe__col:not([data-col]) { display: none; }
.pipe__head {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
}
.pipe__head span { font-variant-numeric: tabular-nums; }
.lead {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
  padding: 10px 11px;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--hair);
  font-size: .8125rem;
}
.lead b { color: var(--text); font-weight: 600; line-height: 1.25; }
.lead .due { color: var(--muted); font-variant-numeric: tabular-nums; }
.lead--hot {
  position: relative;
  z-index: 1;
  border-color: rgb(255 122 26 / .65);
  box-shadow: 0 0 0 1px rgb(255 122 26 / .2), 0 14px 30px -14px rgb(255 122 26 / calc(.5 * var(--glow-k)));
}
.lead--hot .due { color: var(--accent); }
.pipe__detail { padding: 16px 18px 18px; border-top: 1px solid var(--hair); }
.pipe__lead { margin: 0; color: var(--text); font-size: 1rem; font-weight: 700; font-stretch: 108%; }
.pipe__stage { margin: 2px 0 12px; color: var(--muted); font-size: .8125rem; }
.pipe__stage b { color: var(--text); font-weight: 600; }
.next {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgb(255 122 26 / .5);
  background: rgb(255 122 26 / .07);
}
.next__k { margin: 0; color: var(--muted); font-size: .75rem; }
.next__v { margin: 2px 0 0; color: var(--text); font-weight: 600; }
.pipe__sub { margin: 14px 0 6px; color: var(--muted); font-size: .75rem; }
.touches { list-style: none; display: grid; gap: 8px; font-size: .8125rem; }
.touches li { position: relative; display: grid; padding-left: 14px; }
.touches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mineral);
}
.touches li[data-new-touch]::before { background: var(--ember); }
.touches__t { color: var(--muted); font-size: .75rem; }
@media (min-width: 640px) {
  .pipe { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .pipe__detail { border-top: 0; border-left: 1px solid var(--hair); }
}
@media (min-width: 1024px) {
  .pipe__board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pipe__col:not([data-col]) { display: block; }
}
.bid { display: grid; }
.bid__list { padding: 14px; }
.bid__import {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgb(var(--wash) / .04);
  font-size: .8125rem;
}
.bid__import .ico { color: var(--accent); }
.bid__import b { color: var(--text); font-weight: 600; }
.opp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.2rem 3.4rem 2.2rem;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.opp + .opp { margin-top: 2px; }
.opp > span:first-child { display: grid; min-width: 0; }
.opp b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opp em { color: var(--muted); font-style: normal; font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opp--head { color: var(--muted); font-size: .75rem; padding-block: 4px; }
.opp--on { background: rgb(255 122 26 / .08); box-shadow: inset 2px 0 0 var(--ember); }
.fit { justify-self: end; color: var(--text); font-weight: 700; }
.fit--low { color: var(--muted); font-weight: 500; }
.bid__triage { padding: 16px 18px 18px; border-top: 1px solid var(--hair); }
.bid__k { margin: 0; color: var(--muted); font-size: .75rem; }
.bid__title { margin: 2px 0 12px; color: var(--text); font-weight: 700; font-stretch: 106%; }
.checks { list-style: none; display: grid; gap: 7px; font-size: .8125rem; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .ico { margin-top: .15em; }
.checks .ok .ico { color: var(--accent); }
.checks .warn { color: var(--text); }
.checks .warn .ico { color: var(--retyped); stroke-width: 2.4; }
.score {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .8125rem;
}
.score__k { color: var(--muted); }
.score__bar { height: 6px; border-radius: 99px; background: rgb(var(--wash) / .08); overflow: hidden; }
.score__bar span { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ember-deep), var(--ember-hi)); transform-origin: 0 50%; }
.score__v { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.decision { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-size: .8125rem; }
.decision__chip {
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--ember);
  color: var(--on-ember);
  font-weight: 700;
}
.decision__note { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); }
@media (max-width: 479.98px) {
  .opp { grid-template-columns: minmax(0, 1fr) 3.4rem 2rem; }
  .opp > span:nth-child(2) { display: none; }
}
@media (min-width: 640px) {
  .bid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .bid__triage { border-top: 0; border-left: 1px solid var(--hair); }
}
.ledger { display: grid; }
.ledger > * { padding: 16px 18px; }
.ledger > * + * { border-top: 1px solid var(--hair); }
.ledger__tag {
  display: inline-block;
  margin: 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgb(var(--wash) / .07);
  color: var(--text);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.ledger__name { margin: 8px 0 10px; color: var(--text); font-weight: 700; font-stretch: 106%; }
.ledger__facts { margin: 0; display: grid; gap: 6px; font-size: .8125rem; }
.ledger__facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 8px; }
.ledger__facts dt { color: var(--muted); }
.ledger__facts dd { margin: 0; color: var(--text); }
.transfer__title, .custody__title { margin: 0 0 10px; color: var(--muted); font-size: .75rem; }
.transfer__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.party {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgb(var(--wash) / .035);
  border: 1px solid var(--hair);
}
.party__k { margin: 0; color: var(--muted); font-size: .75rem; }
.party__v { margin: 2px 0 0; color: var(--text); font-weight: 600; }
.party__s { margin: 0; color: var(--text-2); font-size: .75rem; }
.sig { width: 100%; max-width: 132px; height: auto; margin-top: 6px; }
.sig path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.transfer__done { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .8125rem; color: var(--text); }
.transfer__done .ico { color: var(--accent); }
.custody__list { list-style: none; display: grid; gap: 7px; font-size: .8125rem; }
.custody__list li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 8px; }
.custody__t { color: var(--muted); font-variant-numeric: tabular-nums; }
.custody__list .is-new { color: var(--text); }
.custody__list .is-new .custody__t { color: var(--accent); }
.report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgb(255 122 26 / .5);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
}
@media (min-width: 640px) {
  .ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .ledger__item { grid-row: 1; }
  .transfer { grid-row: 1; border-top: 0 !important; border-left: 1px solid var(--hair); }
  .custody { grid-column: 1 / -1; }
}
.record-card {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 4px;
  background: linear-gradient(170deg, #FFFDF8 0%, #FBF8F1 50%, #F1ECE2 100%);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgb(var(--shade) / calc(.25 * var(--sh))),
    0 2px 4px rgb(var(--shade) / calc(.3 * var(--sh))),
    0 40px 80px -40px rgb(var(--shade) / calc(.9 * var(--sh))),
    -30px 50px 100px -60px rgb(var(--shade) / calc(.7 * var(--sh)));
}
:root[data-theme="light"] .record-card { box-shadow: 0 0 0 1px rgba(74, 52, 30, .14), 0 2px 4px rgba(74, 52, 30, .1), 0 30px 60px -30px rgba(74, 52, 30, .35); }
.record-card__title {
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 110%;
}
.facts { margin: 0; }
.facts__row {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(27, 28, 32, .14);
}
.facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--ink-muted); font-size: .875rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.record-card :focus-visible { outline-color: var(--ember-ink); }
@media (min-width: 560px) {
  .facts__row { grid-template-columns: 9rem 1fr; gap: 16px; align-items: baseline; }
}
.notfound { width: min(100% - 2 * var(--gutter), 44rem); margin: 0 auto; padding: 16vh 0 20vh; }
.notfound h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  font-stretch: 112%;
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.028em;
}
.notfound p { margin: 20px 0 32px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .theme-toggle, .board__toggle, .path__link { border: 1px solid ButtonText; }
}
