/* Editions browser, edition pages, features, pricing, FAQ and legal pages. Uses the tokens from site.css. */

/* ---------- editions index ---------- */
.ed-hero { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px) }
.ed-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 24ch }
.ed-hero .lead { margin-top: 22px }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--soft); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.marquee .track { display: flex; width: max-content; gap: 12px; padding: 16px 6px; animation: scroll 60s linear infinite }
.marquee:hover .track { animation-play-state: paused }
.marquee a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .95rem; white-space: nowrap; transition: border-color .2s, background-color .2s, transform .25s var(--ease) }
.marquee a:hover, .marquee a:focus-visible { border-color: var(--accent); background: var(--accent-weak); transform: translateY(-2px) }
.marquee .ic { width: 17px; height: 17px; color: var(--accent) }
@keyframes scroll { to { transform: translateX(-50%) } }
.ed-browser { padding-block: 36px clamp(48px, 8vw, 96px) }
.ed-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start }
.ed-g-title { display: flex; align-items: center; gap: 12px; margin: 34px 0 10px; font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: -.01em } .ed-group:first-child .ed-g-title { margin-top: 6px }
.ed-g-title span { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 7px; border-radius: 999px; background: var(--soft-2); font-size: .78rem }
.ed-row { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding: 16px 14px; margin-inline: -14px; border-radius: 14px; transition: background-color .2s, transform .3s var(--ease) }
.ed-row::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease) }
.ed-row .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-weak); color: var(--accent-deep); transition: background-color .25s, color .25s, transform .35s var(--ease) }
.ed-row .t { display: grid; gap: 3px; min-width: 0 } .ed-row strong { font-size: 1.18rem; letter-spacing: -.03em; line-height: 1.2 } .ed-row em { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.4 }
.ed-row > .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease), color .2s }
.ed-row.on, .ed-row:hover { background: var(--soft) } .ed-row.on::before { transform: scaleY(1) }
.ed-row.on .ico, .ed-row:hover .ico { background: var(--accent); color: #fff; transform: scale(1.05) rotate(-4deg) }
:root[data-theme="dark"] .ed-row.on .ico, :root[data-theme="dark"] .ed-row:hover .ico { color: #0e1118 }
.ed-row.on > .ic, .ed-row:hover > .ic { color: var(--accent); transform: translateX(4px) }
.ed-row[hidden], .ed-group[hidden] { display: none }
.ed-stage { position: sticky; top: 96px; min-height: 520px }
.ed-panel { position: absolute; inset: 0 0 auto 0; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(70% 60% at 100% 0, var(--accent-glow), transparent 70%), var(--surface); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s }
.ed-panel.on { opacity: 1; visibility: visible; transform: none; position: relative }
.ed-bigicon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; border-radius: 18px; background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px var(--accent) } .ed-bigicon .ic { width: 32px; height: 32px }
:root[data-theme="dark"] .ed-bigicon { color: #0e1118 }
.ed-panel h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.035em; line-height: 1.08 } .ed-panel .lead { margin-top: 10px; font-size: 1.04rem }
.ed-panel h3 { margin: 24px 0 10px; font-size: .95rem; letter-spacing: -.01em } .ed-panel .sit { color: var(--muted); line-height: 1.6; font-size: .96rem }
.ed-panel .hero-cta { margin-top: 26px }
.ed-panel .chips .chip { animation: rise .5s var(--ease) both } .ed-panel .chips .chip:nth-child(2) { animation-delay: .05s } .ed-panel .chips .chip:nth-child(3) { animation-delay: .1s } .ed-panel .chips .chip:nth-child(4) { animation-delay: .15s } .ed-panel .chips .chip:nth-child(5) { animation-delay: .2s }
.no-js .ed-stage { display: none } .no-js .ed-split { grid-template-columns: 1fr }
@media (max-width: 960px) { .ed-split { grid-template-columns: 1fr } .ed-stage { display: none } .ed-row { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px } }
/* ---------- edition page ---------- */
.edx-band { --a: 0%; position: relative; overflow: hidden; background: radial-gradient(60% 80% at calc(66% + var(--a)) 0, #3048c966, transparent 70%), linear-gradient(135deg, var(--dark), var(--dark-2)); color: var(--on-dark) }
.edx-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff14 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none }
.edx-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(36px, 6vw, 80px) }
.edx-band .crumbs { color: var(--on-dark-muted) } .edx-band .crumbs a:hover { color: #fff }
.edx-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 16px; background: #ffffff14; border: 1px solid #ffffff26; color: #fff } .edx-icon .ic { width: 28px; height: 28px }
.edx-band h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); color: #fff }
.edx-band .lead { color: var(--on-dark-muted); margin-top: 16px; font-size: 1.2rem }
.edx-band .built { margin-top: 18px; color: var(--on-dark-muted); line-height: 1.65; max-width: 58ch; font-size: .98rem }
.edx-band .hero-cta { margin-top: 30px } .edx-band .primary { background: #fff; color: #12151c; box-shadow: none } .edx-band .primary:hover { background: #e9edff } .edx-band .outline { color: var(--on-dark); background: transparent; border-color: #ffffff3d } .edx-band .outline:hover { background: #ffffff14 }
.roster { border: 1px solid #ffffff22; border-radius: 20px; background: #ffffff0d; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden }
.roster-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #ffffff1a } .roster-head span { color: var(--on-dark-muted); font-size: .88rem }
.roster li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 10px; gap: 14px; align-items: center; padding: 15px 20px; border-top: 1px solid #ffffff12; animation: active calc(var(--n) * 2.2s) calc(var(--i) * 2.2s) infinite } .roster li:first-child { border-top: 0 }
.roster .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffff1a; color: #fff; font-weight: 720 }
.roster h3 { font-size: .98rem; color: #fff } .roster p { color: var(--on-dark-muted); font-size: .86rem; line-height: 1.4; margin-top: 2px }
.roster .dot { width: 9px; height: 9px; border-radius: 50%; background: #5ee0a0; animation: pulse 2.4s ease-out infinite; color: #5ee0a0 }
@keyframes active { 0%, 14% { background: #ffffff17 } 22%, 100% { background: transparent } }
.edx-jobs { display: grid }
.edx-jobs li { display: grid; grid-template-columns: clamp(70px, 10vw, 140px) minmax(0, 1fr); gap: 24px; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line); align-items: baseline } .edx-jobs li:last-child { border-bottom: 1px solid var(--line) }
.edx-jobs .big { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 760; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); transition: color .3s, -webkit-text-stroke-color .3s } .edx-jobs li:hover .big { color: var(--accent-weak); -webkit-text-stroke-color: var(--accent) }
.edx-jobs h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.04em } .edx-jobs p { margin-top: 8px; color: var(--muted); line-height: 1.62; max-width: 62ch; font-size: 1.04rem }
.edx-keep { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center }
.edx-keep ul { display: grid; gap: 12px }
.edx-keep li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 620; font-size: 1.06rem; transition: transform .3s var(--ease), border-color .2s, box-shadow .3s } .edx-keep li:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: var(--shadow-md) }
.edx-keep .ic { color: var(--accent) } .edx-keep em { font-style: normal; font-weight: 600; font-size: .8rem; color: var(--accent-deep); background: var(--accent-weak); border-radius: 999px; padding: 5px 11px; white-space: nowrap }
.edx-story { position: relative; padding: clamp(30px, 5vw, 64px); border-radius: 24px; background: linear-gradient(135deg, var(--soft), var(--soft-2)); border: 1px solid var(--line); overflow: hidden }
.edx-story::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--accent), #6a82ff) }
.edx-story h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.08; max-width: 22ch } .edx-story p { margin-top: 18px; max-width: 66ch; font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted) }
.edx-conn { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px }
.edx-conn li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 600; transition: border-color .2s, transform .25s var(--ease) } .edx-conn li:hover { border-color: var(--accent); transform: translateY(-3px) } .edx-conn .ic { color: var(--accent) }
@media (max-width: 900px) { .edx-grid, .edx-keep { grid-template-columns: 1fr } .edx-jobs li { grid-template-columns: 56px minmax(0, 1fr); gap: 14px } }

/* ---------- docs layout: features and legal ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 40px }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; padding-top: 6px } .toc strong { font-size: .9rem; margin-bottom: 8px }
.toc a { padding: 8px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: .95rem; transition: color .2s, border-color .2s, background-color .2s } .toc a:hover { color: var(--ink); background: var(--soft) } .toc a[aria-current] { color: var(--ink); border-left-color: var(--accent); font-weight: 650 }
.doc-sec { padding-bottom: clamp(36px, 5vw, 64px); scroll-margin-top: 90px } .doc-sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.04em; line-height: 1.08 } .doc-sec .lead { margin-top: 10px; font-size: 1.08rem }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr } .toc { display: none } }

/* ---------- pricing, contact, FAQ, legal ---------- */
.plans { align-items: stretch }
.plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0 }
.plan .checklist { display: grid; grid-row: span 3; grid-template-rows: subgrid; margin: 18px 0 24px }
.plan .checklist li { align-items: center }
.plan .button { width: 100%; align-self: end }
.email { margin-top: 6px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em } .email a:hover { text-decoration: underline; text-underline-offset: 5px }
.faq { max-width: 820px; margin-inline: auto } .faq-group + .faq-group { margin-top: 44px } .faq-group h2 { font-size: 1.5rem; letter-spacing: -.04em; margin-bottom: 14px }
.qa { border-top: 1px solid var(--line) } .qa:last-child { border-bottom: 1px solid var(--line) }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 650; font-size: 1.06rem; list-style: none } .qa summary::-webkit-details-marker { display: none }
.qa summary .ic { flex: none; width: 20px; height: 20px; color: var(--muted); transform: rotate(90deg); transition: transform .3s var(--ease), color .2s } .qa[open] summary .ic { transform: rotate(-90deg); color: var(--accent) } .qa summary:hover { color: var(--accent-deep) }
.qa p { padding: 0 4px 22px; color: var(--muted); line-height: 1.7; max-width: 68ch; animation: rise .35s var(--ease) both }
.prose { max-width: 760px } .prose section { padding-bottom: 8px; scroll-margin-top: 90px } .prose h2 { font-size: 1.45rem; letter-spacing: -.04em; margin: 38px 0 12px } .prose p { color: var(--muted); line-height: 1.75; margin-top: 12px; font-size: 1.02rem } .prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; width: auto } }


/* how it works: sticky stage that follows the steps */
.how-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start }
.how-split .flow li { min-height: 21vh; padding-bottom: 20px } .how-split .flow li:last-child { min-height: 0 }
.how-split .flow h3, .how-split .flow p { transition: opacity .35s var(--ease) } .how-split .flow li:not(.active) h3, .how-split .flow li:not(.active) p { opacity: .42 }
.how-split .flow li::before { transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease) } .flow li.active::before { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.1) }
:root[data-theme="dark"] .flow li.active::before { color: #0e1118 }
.scene-inline { display: none }
.how-stage { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(70% 50% at 100% 0, var(--accent-glow), transparent 70%), var(--surface); box-shadow: var(--shadow-lg); overflow: hidden }
.hs-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--soft); border-bottom: 1px solid var(--line) } .hs-head strong { font-size: 1.02rem }
.hs-body { position: relative; height: 380px }
.hs-body .scene { position: absolute; inset: 0; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s }
.hs-body .scene.on { opacity: 1; visibility: visible }
.segs { display: flex; gap: 6px; padding: 14px 22px 18px }
.seg { flex: 1; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--soft-2); cursor: pointer; position: relative; overflow: hidden } .seg::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease) } .seg.done::after, .seg.cur::after { transform: scaleX(1) } .seg.done::after { opacity: .45 }
/* scene pieces */
.js .scene .a { opacity: 0; transform: translateY(12px) }
.js .scene.on .a { animation: pop .55s var(--ease) calc(var(--d) * 1s + .1s) both }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } to { opacity: 1; transform: none } }
.chans { display: flex; flex-wrap: wrap; gap: 8px } .chan { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .92rem } .chan .ic { color: var(--accent) }
.bubble { max-width: 88%; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: var(--soft-2); line-height: 1.5; font-weight: 500 } .bubble small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; font-size: .8rem }
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--soft-2); color: var(--muted); font-weight: 600; font-size: .9rem } .pill .ic { width: 16px; height: 16px } .pill.good { background: var(--good-weak); color: var(--good) } .pill.accent { background: var(--accent-weak); color: var(--accent-deep) }
.node { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg) } .node .ni { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-weak); color: var(--accent-deep) } .node strong { display: block } .node small, .dhead + .lines { color: var(--muted) } .node small { font-size: .84rem }
.join { display: flex; align-items: center; gap: 8px; padding-left: 28px; color: var(--muted); font-size: .86rem } .join .ic { width: 14px; height: 14px; color: var(--accent) }
.dhead { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.scene .lines { display: grid; gap: 10px; margin: 6px 0 } .scene .lines i { display: block; height: 9px; border-radius: 6px; background: var(--soft-2); transform-origin: left; transform: scaleX(0) } .scene .lines i:nth-child(1) { width: 94% } .scene .lines i:nth-child(2) { width: 80% } .scene .lines i:nth-child(3) { width: 88% } .scene .lines i:nth-child(4) { width: 46% }
.scene.on .lines i { animation: line2 .7s var(--ease) both } .scene.on .lines i:nth-child(1) { animation-delay: .25s } .scene.on .lines i:nth-child(2) { animation-delay: .45s } .scene.on .lines i:nth-child(3) { animation-delay: .65s } .scene.on .lines i:nth-child(4) { animation-delay: .85s }
@keyframes line2 { to { transform: scaleX(1) } }
.srcs { display: flex; flex-wrap: wrap; gap: 8px } .srcs .chip { border: 1px solid var(--line); background: var(--bg) } .srcs .ic { width: 14px; height: 14px }
.exact2 { padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); line-height: 1.6 }
.facts { display: grid; gap: 8px; color: var(--muted); font-size: .92rem } .facts span { display: flex; align-items: center; gap: 9px } .facts .ic { width: 16px; height: 16px; color: var(--accent) }
.btns { display: flex; gap: 8px; flex-wrap: wrap } .btn { padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line-strong); font-weight: 650; font-size: .92rem; display: inline-flex; align-items: center; gap: 7px } .btn .ic { width: 16px; height: 16px } .btn.p { background: var(--accent); border-color: var(--accent); color: #fff } :root[data-theme="dark"] .btn.p { color: #0e1118 }
.chk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 560 } .tk { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--good-weak); color: var(--good) } .tk .ic { width: 14px; height: 14px }
.tl { display: grid; grid-template-columns: auto 18px minmax(0, 1fr); gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg) } .tl i { height: 2px; background: var(--line-strong) } .tl > span:last-child { color: var(--muted); font-size: .92rem }
.alt { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--warn-weak); line-height: 1.55; font-size: .92rem } .alt .chip { margin-right: 6px }
.act { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line) } .act time { font: 650 .84rem ui-monospace, monospace; color: var(--muted) }
@media (max-width: 900px) { .how-split { grid-template-columns: 1fr } .how-stage { display: none } .how-split .flow li { min-height: 0; padding-bottom: 36px } .how-split .flow li:not(.active) h3, .how-split .flow li:not(.active) p { opacity: 1 } .scene-inline { display: block; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm) } .scene-inline .scene { display: flex; flex-direction: column; gap: 12px } .flow li.active::before { transform: none } }
@media (prefers-reduced-motion: reduce) { .js .scene .a { opacity: 1; transform: none } .scene .lines i { transform: none } .seg::after { transition: none } }

/* trust */
.roster .av .ic { width: 20px; height: 20px }
.tr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px) }
.tr-col h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.035em; padding-bottom: 14px; border-bottom: 2px solid var(--ink) }
.tr-item { padding: 20px 0; border-bottom: 1px solid var(--line) }
.tr-item h3 { font-size: 1.06rem; letter-spacing: -.02em } .tr-item p { color: var(--muted); line-height: 1.58; margin-top: 5px; font-size: .97rem }
.tr-claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.claim { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); line-height: 1.55; font-weight: 520 } .claim .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--bad) }
.tr-asks { display: grid; gap: 4px; margin-top: 22px } .tr-asks li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: 1.08rem } .tr-asks .ic { width: 20px; height: 20px; color: var(--accent) }
@media (max-width: 900px) { .tr-cols, .tr-claims { grid-template-columns: 1fr } }

/* edition pager */
.edx-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
.edx-pager a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, background-color .2s, transform .3s var(--ease), box-shadow .3s }
.edx-pager a:hover { border-color: var(--accent); background: var(--soft); transform: translateY(-3px); box-shadow: var(--shadow-md) }
.edx-pager .prev { text-align: left; justify-content: flex-start } .edx-pager .next { text-align: right }
.edx-pager .txt { display: grid; gap: 4px; min-width: 0 } .edx-pager small { color: var(--muted); font-size: .9rem } .edx-pager strong { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.035em; line-height: 1.2 }
.edx-pager .arr { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-weak); color: var(--accent-deep); transition: background-color .25s, color .25s, transform .3s var(--ease) } .edx-pager .arr .ic { width: 20px; height: 20px }
.edx-pager .prev .arr .ic { transform: rotate(180deg) }
.edx-pager a:hover .arr { background: var(--accent); color: #fff } .edx-pager .next:hover .arr { transform: translateX(4px) } .edx-pager .prev:hover .arr { transform: translateX(-4px) }
:root[data-theme="dark"] .edx-pager a:hover .arr { color: #0e1118 }
.edx-all { margin-top: 22px; text-align: center }
@media (max-width: 640px) { .edx-pager { grid-template-columns: 1fr } }

/* ledger: title on the left, text on the right */
.ledger { border-top: 1px solid var(--line) }
.ledger li { display: grid; grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line) }
.ledger h3 { font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.35 } .ledger p { color: var(--muted); line-height: 1.62; max-width: 66ch }
@media (max-width: 720px) { .ledger li { grid-template-columns: 1fr } }
.doc-sec .ledger, .section-head + .ledger { margin-top: 22px }
