.xl-wide { width: min(100%, 1280px); margin-left: max(0px, calc((100% - var(--side-w) - 1120px) / 2)); }
.xl { --xl-tint: color-mix(in srgb, var(--main) 9%, transparent); --xl-tint-strong: color-mix(in srgb, var(--main) 16%, transparent); }

.xl-hero { position: relative; isolation: isolate; padding: 0 var(--home-gutter) clamp(72px, 8vw, 112px); overflow-x: clip; }
.xl-hero::before { content: ""; position: absolute; z-index: -1; inset: 76px 0 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 112px 32px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 112px 32px; opacity: .75; -webkit-mask-image: radial-gradient(52% 62% at 74% 46%, #000, transparent 78%); mask-image: radial-gradient(52% 62% at 74% 46%, #000, transparent 78%); pointer-events: none; }
.xl-hero__grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(36px, 4.4vw, 72px); align-items: center; padding-top: clamp(40px, 6vh, 72px); }
.xl-hero__copy { min-width: 0; }

.xl-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 5px 13px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); color: var(--secondary); font-size: 12.5px; line-height: 1.4; }
.xl-chip .ico { flex: none; width: 14px; height: 14px; margin-right: -2px; }
.xl-chip__file { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; background: var(--bg-secondary); color: var(--text); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; }
.xl-chip__file--to { background: var(--xl-tint-strong, color-mix(in srgb, var(--main) 16%, transparent)); color: var(--main); }
.xl-chip > .xl-chip__file--to { margin-right: 4px; }

.home.landing-page .xl-hero h1 { max-width: 11ch; margin: 0 0 22px; font-size: clamp(40px, 4.8vw, 70px); line-height: 1; text-align: left; }
.home .xl-hero .lead { max-width: 44ch; margin: 0 0 32px; text-align: left; }
.home .xl-drop { max-width: 500px; min-height: 0; margin: 0; padding: 28px 24px 24px; }
.xl-hero .drop__error { max-width: 500px; margin: 14px 0 0; text-align: left; }
.xl-hero .home-privacy { justify-content: flex-start; max-width: 500px; margin: 20px 0 0; text-align: left; }

.xl-window, .xl-inspect { --xl-paper: var(--home-surface); --xl-head: var(--bg-secondary); --xl-grid: var(--line); }
.xl-window { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--xl-paper); box-shadow: inset 0 1px 0 var(--glass-shine), 0 2px 6px #1a2b2008, 0 60px 120px -50px #1a3a2666; transform: perspective(2200px) rotateY(-11deg) rotateX(4deg); transform-origin: 0% 50%; transition: transform 1.2s var(--ease-out); }
.xl-window:hover { transform: perspective(2200px) rotateY(-4deg) rotateX(1.5deg); }
:root[data-theme="dark"] .xl-window { box-shadow: inset 0 1px 0 var(--glass-shine), 0 60px 120px -50px #000000b3; }
.xl-window__bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--xl-grid); background: var(--xl-head); }
.xl-window__dots { display: inline-flex; flex: none; gap: 7px; }
.xl-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--text) 16%, transparent); }
.xl-window__name { position: absolute; left: 50%; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 140px); overflow: hidden; color: var(--secondary); font-size: 12px; white-space: nowrap; transform: translateX(-50%); }
.xl-window__name .ico { flex: none; width: 15px; height: 15px; color: var(--main); }
.xl-window__grid { overflow: hidden; }
.xl-tabs { display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border-top: 1px solid var(--xl-grid); background: var(--xl-head); }
.xl-tabs__tab { display: inline-flex; align-items: center; height: 26px; padding: 0 16px; border-radius: 6px 6px 0 0; background: var(--xl-paper); box-shadow: inset 0 -2px 0 var(--main); color: var(--main); font-size: 12px; font-weight: 500; }
.xl-tabs__add { padding: 0 8px; color: var(--secondary); font-size: 15px; }

.xl-formula { display: flex; align-items: center; height: 34px; border-bottom: 1px solid var(--xl-grid, var(--line)); background: var(--xl-paper, var(--home-surface)); color: var(--text); font-size: 12.5px; }
.xl-formula__ref { display: flex; flex: none; align-items: center; justify-content: center; width: 68px; height: 100%; border-right: 1px solid var(--xl-grid, var(--line)); font-family: var(--font-mono); font-size: 11.5px; }
.xl-formula__fx { display: flex; flex: none; align-items: center; height: 100%; padding: 0 12px; border-right: 1px solid var(--xl-grid, var(--line)); color: var(--secondary); font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-style: italic; }
.xl-formula__value { min-width: 0; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.xl-sheet { width: 1598px; margin: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--xl-paper); color: var(--text); font-size: 12.5px; line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
.xl-c0 { width: 38px; } .xl-c1 { width: 52px; } .xl-c2 { width: 66px; } .xl-c3 { width: 270px; } .xl-c4, .xl-c5 { width: 108px; } .xl-c6 { width: 72px; } .xl-c7 { width: 58px; } .xl-c8 { width: 78px; } .xl-c9 { width: 64px; } .xl-c10 { width: 78px; } .xl-c11 { width: 206px; } .xl-c12 { width: 104px; } .xl-c13 { width: 296px; }
.xl-sheet th, .xl-sheet td { height: 30px; padding: 0 8px; overflow: hidden; border-right: 1px solid var(--xl-grid); border-bottom: 1px solid var(--xl-grid); font-weight: 400; text-align: left; text-overflow: ellipsis; white-space: nowrap; transition: background-color .35s var(--ease-out), color .35s var(--ease-out); }
.xl-sheet .xl-letters th { height: 24px; background: var(--xl-head); color: var(--secondary); font-size: 11px; text-align: center; }
.xl-sheet tr > :first-child { padding: 0; background: var(--xl-head); color: var(--secondary); font-size: 11px; font-weight: 400; text-align: center; }
.xl-sheet .xl-names td { position: relative; padding-right: 26px; font-weight: 600; }
.xl-sheet .xl-names td:first-child { padding: 0; font-weight: 400; }
.xl-names td i { position: absolute; top: 50%; right: 6px; width: 14px; height: 14px; margin-top: -7px; border: 1px solid var(--xl-grid); border-radius: 3px; background: var(--xl-paper); }
.xl-names td i::after { content: ""; position: absolute; top: 4.5px; left: 3px; border-top: 4px solid var(--secondary); border-right: 3px solid transparent; border-left: 3px solid transparent; }
.xl-sheet .xl-sum td { font-weight: 600; }
.xl-sheet .xl-sum td:first-child { font-weight: 400; }
.xl-sheet .n { text-align: right; }
.xl-sheet .l2 { padding-left: 22px; }
.xl-sheet .l3 { padding-left: 36px; }
.xl-sheet .xl-cur { position: relative; box-shadow: inset 0 0 0 2px var(--main); }
.xl-sheet .xl-cur::after { content: ""; position: absolute; right: 0; bottom: 0; width: 6px; height: 6px; background: var(--main); }
.xl-sheet .is-hl { background: var(--xl-tint); }
.xl-sheet th.is-hl, .xl-sheet tr > .is-hl:first-child { background: color-mix(in srgb, var(--main) 20%, var(--xl-head)); color: var(--main); font-weight: 600; }

.xl-samples { padding: 0 var(--home-gutter) clamp(72px, 8vw, 112px); }
.xl-samples__group + .xl-samples__group { margin-top: 48px; }
.xl-samples__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.landing-page .xl-samples__title { margin: 0 0 16px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.landing-page .xl-samples__head .xl-samples__title { margin: 0; }
.xl-samples__head .arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--link); font-size: 13px; text-underline-offset: 4px; }
.xl-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.home .xl-files li { margin: 0; }
.xl-file { display: flex; gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); color: var(--text); text-decoration: none; transition: border-color .25s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.xl-file:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--glass-shine), 0 16px 32px -22px #111c1540; }
.xl-file:focus-visible { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 25%, transparent); }
.xl-file__icon { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--xl-tint); color: var(--main); }
.xl-file__icon .ico { width: 18px; height: 18px; }
.xl-file__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.xl-file__name { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.xl-file__note { color: var(--secondary); font-size: 13px; line-height: 1.5; }
.xl-file code { align-self: flex-start; max-width: 100%; margin-top: 6px; padding: 2px 6px; overflow: hidden; border-radius: 5px; background: var(--bg-secondary); color: var(--secondary); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.xl-file time { color: var(--secondary); font-size: 12.5px; }
.home .xl-samples__note, .home .xl-samples__more { margin: 16px 0 0; color: var(--secondary); font-size: 13.5px; line-height: 1.6; }
.xl-samples__note a, .xl-samples__more a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.home.xl .xl-kicker { max-width: none; margin: 0 0 14px; justify-self: start; color: var(--main); font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
.xl-section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.landing-page .xl-section-head h2, .landing-page .xl-tree h2, .landing-page .xl-links h2, .landing-page .xl-essay h2, .landing-page .xl-faq h2 { max-width: 16ch; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -.05em; }

.xl-cols { padding: clamp(80px, 9vw, 128px) var(--home-gutter); border-top: 1px solid var(--line); }
.xl-cols__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.xl-cols__sheet { position: sticky; top: max(24px, calc(50vh - 190px)); min-width: 0; }
.xl-inspect { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--xl-paper); box-shadow: inset 0 1px 0 var(--glass-shine), 0 40px 80px -50px #1a3a264d; }
.xl-inspect__view { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.is-live .xl-inspect__view { overflow: hidden; }
.xl-inspect__pan { width: max-content; }
.xl-inspect .xl-sheet tr > :first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--xl-grid); }
.xl-inspect .xl-sheet tbody tr:last-child td { border-bottom: 0; }
.xl-cols__list { margin: 0; padding: 0; list-style: none; }
.home .xl-col { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; margin: 0; padding: 26px 0; border-top: 1px solid var(--line); transition: opacity .45s var(--ease-out); }
.home .xl-col:last-child { border-bottom: 1px solid var(--line); }
.xl-col__ref { grid-row: span 2; align-self: start; display: inline-flex; justify-content: center; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-secondary); color: var(--secondary); font-family: var(--font-mono); font-size: 12px; line-height: 1.4; white-space: nowrap; transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out); }
.home .xl-col h3 { margin: 0 0 6px; color: var(--text); font-size: 17px; font-weight: 500; line-height: 1.4; }
.xl-col h3 code { padding: 0; background: none; color: var(--text); font-family: var(--font-mono); font-size: 15.5px; }
.home .xl-col p { margin: 0; color: var(--secondary); font-size: 15.5px; line-height: 1.7; text-wrap: pretty; }
.xl-col p code, .xl-tree__text code, .xl-links code, .xl-ledger code, .xl-essay code { color: var(--text); font-size: .88em; }
.is-live .xl-col { opacity: .4; }
.is-live .xl-col.is-active { opacity: 1; }
.xl-col.is-active .xl-col__ref { border-color: color-mix(in srgb, var(--main) 45%, transparent); background: var(--xl-tint); color: var(--main); }

.xl-tree { padding: clamp(80px, 9vw, 128px) var(--home-gutter); background: var(--bg-secondary); border-block: 1px solid var(--line); }
.xl-tree__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 4.4vw, 72px); align-items: start; }
.landing-page .xl-tree__text h2 { margin-bottom: 28px; }
.home .xl-tree__text p { max-width: 58ch; margin: 0 0 18px; color: var(--secondary); font-size: 16.5px; line-height: 1.8; text-wrap: pretty; }
.home .xl-tree__text p:last-child { margin-bottom: 0; }
.xl-tree__demo { position: sticky; top: max(24px, calc(50vh - 280px)); min-width: 0; }
.xl-demo { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine), 0 40px 80px -50px #1a3a264d; }
.xl-demo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.xl-demo__label { color: var(--secondary); font-size: 12.5px; }
.xl-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-secondary); }
.xl-seg__btn { min-height: 38px; padding: 0 15px; border: 0; border-radius: 8px; background: transparent; color: var(--secondary); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.xl-seg__btn:hover { color: var(--text); }
.xl-seg__btn[aria-pressed="true"] { background: var(--home-surface); box-shadow: 0 1px 3px var(--glass-shadow), inset 0 0 0 1px var(--line); color: var(--text); }
.xl-seg__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--main) 35%, transparent); }
.xl-demo__head, .home .xl-demo__rows li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 118px; }
.xl-demo__head { border-bottom: 1px solid var(--line); background: var(--bg-secondary); color: var(--secondary); font-size: 11.5px; font-weight: 600; }
.xl-demo__head span { padding: 8px 12px; border-right: 1px solid var(--line); transition: background-color .4s var(--ease-out), color .4s var(--ease-out); }
.xl-demo__head span:last-child { border-right: 0; text-align: right; }
.xl-demo__rows { position: relative; margin: 0; padding: 0; list-style: none; }
.home .xl-demo__rows li { position: relative; height: 36px; margin: 0; border-bottom: 1px solid var(--line); background: var(--home-surface); color: var(--text); font-size: 13px; font-variant-numeric: lining-nums proportional-nums; will-change: transform; }
.xl-demo__rows li > span { position: relative; display: flex; align-items: center; min-width: 0; height: 100%; padding: 0 12px; overflow: hidden; border-right: 1px solid var(--line); text-overflow: ellipsis; white-space: nowrap; transition: background-color .4s var(--ease-out), color .4s var(--ease-out); }
.xl-demo__rows li > span:last-child { justify-content: flex-end; border-right: 0; }
.home .xl-demo__rows li.xl-sum { font-weight: 600; }
.xl-demo__rows li > .xl-demo__task { display: block; line-height: 35px; }
.xl-demo__rows .xl-demo__task.l2 { padding-left: 30px; }
.xl-demo__rows .xl-demo__task.l3 { padding-left: 46px; }
.xl-demo__task.l2::before, .xl-demo__task.l3::before { content: ""; position: absolute; top: 0; bottom: 0; left: 18px; width: 1px; background: var(--border-hover); opacity: .55; transition: opacity .4s var(--ease-out); }
.xl-demo__task.l3::before { box-shadow: 16px 0 0 var(--border-hover); }
.is-sorted .xl-demo__task::before { opacity: 0; }
.is-sorted .xl-demo__rows li > span:first-child, .is-sorted .xl-demo__head span:first-child { background: var(--xl-tint); color: var(--main); font-weight: 600; }
.home .xl-demo__note { margin: 0; padding: 14px 18px 16px; color: var(--secondary); font-size: 13.5px; line-height: 1.55; }

.xl-links { padding: clamp(80px, 9vw, 128px) var(--home-gutter); }
.xl-links__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.home .xl-links__head > p { justify-self: end; max-width: 46ch; margin: 0; color: var(--secondary); font-size: 16.5px; line-height: 1.75; text-wrap: pretty; }
.xl-links__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home .xl-link { display: flex; flex-direction: column; margin: 0; padding: 0 0 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); transition: border-color .25s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.home .xl-link:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--glass-shine), 0 16px 32px -20px #111c1540; }
.xl-link__art { display: block; box-sizing: border-box; width: 100%; height: 118px; padding: 20px 12px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 100%, var(--bg-secondary); }
.xl-link__art .a { fill: color-mix(in srgb, var(--text) 20%, var(--home-surface)); }
.xl-link__art .b { fill: var(--main); }
.xl-link__art .arrow, .xl-link__art .head { fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .72; }
.xl-link__art .lag { fill: none; stroke: var(--main); stroke-width: 1.2; stroke-dasharray: 3 3; }
.xl-link__art text { fill: var(--main); font-family: var(--font-mono); font-size: 10px; font-weight: 500; }
.home .xl-link__code { display: block; margin: 22px 22px 10px; padding: 0; background: none; color: var(--text); font-family: var(--font-mono); font-size: 21px; letter-spacing: -.02em; }
.home .xl-link p { margin: 0 22px; color: var(--secondary); font-size: 14.5px; line-height: 1.7; text-wrap: pretty; }
.home .xl-link .xl-link__real { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; }
.home .xl-links__after { max-width: 74ch; margin: 44px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.xl-links__after a, .xl-faq a, .xl-essay a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.xl-ledger { padding: clamp(80px, 9vw, 128px) var(--home-gutter); background: var(--bg-secondary); border-block: 1px solid var(--line); }
.xl-ledger__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xl-ledger__side { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); }
.xl-ledger__side--out { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--line) 75%, transparent) 0 1px, transparent 1px 9px), var(--home-surface); }
.home .xl-ledger__title { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--text); font-size: 15px; font-weight: 500; }
.xl-ledger__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home .xl-ledger__chips li { margin: 0; padding: 6px 11px; border: 1px solid color-mix(in srgb, var(--main) 28%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--main) 6%, var(--home-surface)); color: var(--text); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.4; }
.home .xl-ledger__foot { margin: auto 0 0; padding-top: 24px; color: var(--secondary); font-size: 13.5px; line-height: 1.6; }
.xl-ledger__list { margin: 0; padding: 0; list-style: none; }
.home .xl-ledger__list li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px dashed var(--border-hover); color: var(--secondary); font-size: 15px; line-height: 1.5; }
.home .xl-ledger__list li:last-child { border-bottom: 0; }
.xl-ledger__list li::before { content: ""; flex: none; width: 12px; height: 1.5px; border-radius: 1px; background: var(--secondary); }
.xl-ledger__text { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 52px; }
.home .xl-ledger__text p { margin: 0; color: var(--secondary); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.xl-oneway { display: flex; align-items: center; gap: 14px; }
.xl-oneway__arrows { display: flex; flex-direction: column; gap: 14px; width: 92px; }
.xl-oneway__go { position: relative; height: 2px; border-radius: 2px; background: var(--main); }
.xl-oneway__go::after { content: ""; position: absolute; top: -4px; right: -2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--main); }
.xl-oneway__back { position: relative; height: 0; border-top: 1.5px dashed var(--border-hover); }
.xl-oneway__back::before { content: ""; position: absolute; top: -5.5px; left: -2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 7px solid var(--border-hover); }
.xl-oneway__back::after { content: "×"; position: absolute; top: -9px; left: 50%; padding: 0 5px; background: var(--bg-secondary); color: var(--secondary); font-size: 15px; line-height: 1; transform: translateX(-50%); }

.xl-routes { padding: clamp(80px, 9vw, 128px) var(--home-gutter); background: var(--bg-secondary); border-top: 1px solid var(--line); }
.xl-routes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xl-routes__side { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); }
.xl-routes__side--here { --glow-size: 380px; --glow-color: color-mix(in srgb, var(--main) 17%, transparent); border-color: color-mix(in srgb, var(--main) 30%, var(--line)); box-shadow: inset 0 1px 0 var(--glass-shine), 0 18px 40px -28px color-mix(in srgb, var(--main) 45%, transparent); }
:root[data-theme="dark"] .xl-routes__side--here { --glow-color: color-mix(in srgb, var(--main) 11%, transparent); }
.home .xl-routes__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--text); font-size: 15px; font-weight: 500; }
.xl-routes__steps { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.home .xl-routes__steps li { position: relative; margin: 0; padding: 11px 0 11px 38px; border-bottom: 1px dashed var(--border-hover); color: var(--secondary); font-size: 15px; line-height: 1.55; counter-increment: route; }
.home .xl-routes__steps li:last-child { border-bottom: 0; }
.xl-routes__steps li::before { content: counter(route); position: absolute; top: 11px; left: 0; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-secondary); color: var(--secondary); font-family: var(--font-mono); font-size: 11.5px; line-height: 1; }
.xl-routes__side--here .xl-routes__steps li::before { border-color: color-mix(in srgb, var(--main) 28%, var(--line)); background: color-mix(in srgb, var(--main) 8%, var(--home-surface)); color: var(--main); }
.xl-routes__steps b, .xl-routes__note b { color: var(--text); font-weight: 500; }
.xl-routes code { color: var(--text); font-size: .88em; }
.home .xl-routes__foot { margin: auto 0 0; padding-top: 22px; color: var(--secondary); font-size: 13.5px; line-height: 1.6; }
.xl-routes__file { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 16px; border: 1px solid color-mix(in srgb, var(--main) 22%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--main) 5%, var(--home-surface)); }
.xl-routes__file-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--xl-tint-strong, color-mix(in srgb, var(--main) 16%, transparent)); color: var(--main); }
.xl-routes__file-icon .ico { width: 20px; height: 20px; }
.xl-routes__file-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xl-routes__file-name { overflow: hidden; color: var(--text); font-size: 14.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.xl-routes__file-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.xl-routes__file-meta span { padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--home-surface); color: var(--secondary); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; }
.xl-routes a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home .xl-routes__note { max-width: 74ch; margin: 40px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.8; text-wrap: pretty; }

.xl-essay { padding: clamp(88px, 10vw, 140px) var(--home-gutter) clamp(56px, 6vw, 88px); }
.landing-page .xl-essay h2 { max-width: 14ch; margin: 0 0 44px; }
.xl-essay__cols { column-count: 2; column-gap: clamp(32px, 4vw, 64px); }
.home .xl-essay__cols p { margin: 0 0 20px; color: var(--secondary); font-size: 16.5px; line-height: 1.8; text-wrap: pretty; }
.home .xl-essay__pull { margin: clamp(36px, 4vw, 56px) 0; padding: 30px 0; border-block: 1px solid var(--line); color: var(--text); font-size: clamp(30px, 3.6vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
.xl-essay__pull::before { content: "fx"; display: inline-block; margin-right: .35em; color: var(--main); font-family: Georgia, "Times New Roman", serif; font-size: .5em; font-style: italic; font-weight: 400; letter-spacing: 0; vertical-align: .35em; }
.home .xl-essay__last { max-width: 70ch; margin: 0; color: var(--secondary); font-size: 16.5px; line-height: 1.8; text-wrap: pretty; }

.xl-faq { padding: clamp(56px, 6vw, 88px) var(--home-gutter) clamp(96px, 10vw, 144px); }
.landing-page .xl-faq h2 { margin: 0 0 32px; }
.xl-faq__sheet { max-width: 900px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--home-surface); box-shadow: inset 0 1px 0 var(--glass-shine); interpolate-size: allow-keywords; }
.xl-faq__head { display: grid; grid-template-columns: 52px minmax(0, 1fr); height: 32px; border-bottom: 1px solid var(--line); background: var(--bg-secondary); color: var(--secondary); font-size: 11.5px; font-weight: 600; }
.xl-faq__head span { display: flex; align-items: center; padding: 0 18px; }
.xl-faq__head span:first-child { border-right: 1px solid var(--line); }
.xl-faq__row { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--bg-secondary) 0 52px, var(--line) 52px 53px, transparent 53px); }
.xl-faq__row:last-child { border-bottom: 0; }
.xl-faq__row summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: stretch; min-height: 64px; list-style: none; cursor: pointer; }
.xl-faq__row summary::-webkit-details-marker { display: none; }
.xl-faq__n { display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 12px; font-variant-numeric: lining-nums proportional-nums; transition: background-color .25s var(--ease-out), color .25s var(--ease-out); }
.xl-faq__q { display: flex; align-items: center; padding: 16px 18px; color: var(--text); font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; transition: color .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.xl-faq__row summary i { position: relative; }
.xl-faq__row summary i::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px; border-right: 1.5px solid var(--secondary); border-bottom: 1.5px solid var(--secondary); transform: rotate(45deg); transition: transform .45s var(--ease-spring), border-color .2s var(--ease-out); }
.xl-faq__row summary:hover .xl-faq__q { color: var(--main); }
.xl-faq__row summary:focus-visible { outline: none; }
.xl-faq__row summary:focus-visible .xl-faq__q { box-shadow: inset 0 0 0 2px var(--main); }
.xl-faq__row[open] .xl-faq__n { background: color-mix(in srgb, var(--main) 20%, var(--bg-secondary)); color: var(--main); font-weight: 600; }
.xl-faq__row[open] summary i::before { margin-top: -2px; border-color: var(--main); transform: rotate(225deg); }
.home .xl-faq__row p { max-width: 64ch; margin: 0; padding: 0 52px 24px 71px; color: var(--secondary); font-size: 15.5px; line-height: 1.75; text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
  .xl-sheet--live tbody tr { animation: xl-row .6s var(--ease-out) backwards; animation-delay: calc(620ms + var(--i, 0) * 55ms); }
  .xl-sheet--live .xl-cur { animation: xl-cur .5s var(--ease-out) 1.45s backwards; }
  .xl-window .xl-formula__ref, .xl-window .xl-formula__value { animation: xl-fade .5s var(--ease-out) 1.45s backwards; }
  .motion .xl-link .arrow { stroke-dasharray: 240; stroke-dashoffset: 240; }
  .motion .xl-link .head { opacity: 0; }
  .motion .xl-link.is-in .arrow { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-out) calc(var(--reveal-delay, 0ms) + 380ms); }
  .motion .xl-link.is-in .head { opacity: .72; transition: opacity .4s var(--ease-out) calc(var(--reveal-delay, 0ms) + 1100ms); }
  .motion .xl-oneway .xl-oneway__go { transform: scaleX(0); transform-origin: left center; }
  .motion .xl-oneway.is-in .xl-oneway__go { transform: scaleX(1); transition: transform 1s var(--ease-out) calc(var(--reveal-delay, 0ms) + 250ms); }
  .xl-faq__row::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .xl-faq__row[open]::details-content { block-size: auto; }
  .xl-faq__row[open] p { animation: xl-answer .55s var(--ease-out) .05s backwards; }
  @keyframes xl-row { from { opacity: 0; background-color: var(--xl-tint-strong); } 45% { opacity: 1; background-color: var(--xl-tint-strong); } to { background-color: transparent; } }
  @keyframes xl-cur { from { box-shadow: inset 0 0 0 2px transparent; } }
  @keyframes xl-fade { from { opacity: 0; } }
  @keyframes xl-answer { from { opacity: 0; transform: translateY(-6px); } }
}

@media print {
  .motion .xl-link .arrow { stroke-dashoffset: 0 !important; }
  .motion .xl-link .head { opacity: .72 !important; }
  .motion .xl-oneway .xl-oneway__go { transform: none !important; }
}

@media (max-width: 1100px) {
  .xl-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .xl-window, .xl-window:hover { transform: none; }
  .xl-cols__grid, .xl-tree__grid { grid-template-columns: minmax(0, 1fr); }
  .xl-cols__sheet, .xl-tree__demo { position: static; }
  .xl-links__head { grid-template-columns: minmax(0, 1fr); }
  .home .xl-links__head > p { justify-self: start; }
  .xl-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl-ledger__text { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .xl-oneway { justify-self: start; }
}

@media (max-width: 820.8px) {
  .xl-files, .xl-ledger__grid, .xl-routes__grid { grid-template-columns: minmax(0, 1fr); }
  .xl-essay__cols { column-count: 1; }
  .is-live .xl-col { opacity: 1; }
}

@media (max-width: 600px) {
  .xl-hero { padding-bottom: 56px; }
  .xl-chip { margin-bottom: 20px; font-size: 12px; }
  .home .xl-drop { padding: 24px 16px 22px; }
  .xl-window { border-radius: 12px; }
  .xl-window__name { max-width: calc(100% - 96px); font-size: 11px; }
  .xl-links__grid { grid-template-columns: minmax(0, 1fr); }
  .xl-demo__head, .home .xl-demo__rows li { grid-template-columns: 52px minmax(0, 1fr) 96px; }
  .home .xl-demo__rows li { font-size: 12px; }
  .xl-demo__rows li > span, .xl-demo__head span { padding: 0 8px; }
  .xl-demo__head span { padding: 8px; }
  .xl-demo__rows .xl-demo__task.l2 { padding-left: 22px; }
  .xl-demo__rows .xl-demo__task.l3 { padding-left: 34px; }
  .xl-demo__task.l2::before, .xl-demo__task.l3::before { left: 12px; }
  .xl-demo__task.l3::before { box-shadow: 12px 0 0 var(--border-hover); }
  .xl-seg { width: 100%; }
  .xl-seg__btn { flex: 1; }
  .xl-ledger__side { padding: 22px; }
  .xl-faq__row summary { grid-template-columns: 40px minmax(0, 1fr) 40px; min-height: 60px; }
  .xl-faq__head { grid-template-columns: 40px minmax(0, 1fr); }
  .xl-faq__row { background: linear-gradient(90deg, var(--bg-secondary) 0 40px, var(--line) 40px 41px, transparent 41px); }
  .xl-faq__q { padding: 14px; font-size: 15.5px; }
  .home .xl-faq__row p { padding: 0 16px 20px 55px; font-size: 14.5px; }
}
