/* Main website (templates/site). Builds on the app.css tokens and components. */
.site{min-height:100vh;display:flex;flex-direction:column;background:var(--page);overflow-x:clip}
.st-main{flex:1}
.st-wrap{width:100%;max-width:1200px;margin-inline:auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.st-demo{margin:0;padding:8px 16px;text-align:center;font-size:13px;color:var(--ink-2);background:var(--surface-2)}

/* Header */
.st-header{position:sticky;top:0;z-index:30;background:var(--page);background:color-mix(in srgb,var(--page) 88%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border-bottom:1px solid var(--line)}
.st-bar{display:flex;align-items:center;gap:24px;height:72px}
.st-bar>.brand{padding:0}
.st-bar>.brand .logo{font-size:24px}
.st-bar>.st-product-brand .logo{font-size:13px}
.st-nav{display:flex;align-items:center;gap:2px}
.st-nav>a{height:40px;padding:0 14px;border:0;border-radius:10px;display:inline-flex;align-items:center;gap:6px;background:none;color:var(--ink-2);font:inherit;font-weight:500;text-decoration:none;cursor:pointer}
.st-nav>a:hover{background:var(--surface-2);color:var(--ink)}
.st-nav [aria-current="page"]{color:var(--ink)}
.st-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.st-menu-btn{display:none}
.st-mobile{display:flex;flex-direction:column;gap:2px;padding-block:8px 20px;border-top:1px solid var(--line)}
.st-mobile[hidden]{display:none}
.st-mobile .label-sm{margin:14px 12px 2px}
.st-mobile-links{display:flex;flex-direction:column;gap:2px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.st-mobile-links a{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:12px;color:var(--ink);font-weight:500;font-size:16px;text-decoration:none}
.st-mobile-links a:hover{background:var(--surface-2)}
.st-mobile-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}

/* Hero */
.st-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:56px;padding-block:80px 64px}
.st-hero-solo{grid-template-columns:minmax(0,1fr)}
.st-hero-solo .st-hero-copy{max-width:760px}
.st-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.st-hero h1{font-size:clamp(40px,5.6vw,72px);line-height:1.02;letter-spacing:-.045em;max-width:14ch}
.st-lead{margin:0;font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--ink-2);max-width:36em}
.st-pill{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:999px;background:var(--surface-2);color:var(--ink-2);font-size:13px;font-weight:500}
.st-cta{display:flex;flex-wrap:wrap;gap:12px}
.st-btn-soft{background:var(--surface-2);color:var(--ink)}
.st-btn-soft:hover{background:var(--hover)}
.st-proof{display:flex;flex-wrap:wrap;gap:8px 28px;margin:4px 0 0;padding:0;list-style:none;color:var(--ink-3)}
.st-proof strong{color:var(--ink);font-size:20px;letter-spacing:-.02em;margin-right:4px}

/* Product mock-ups */
.st-visual{position:relative;min-height:560px}
.mock{position:absolute;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 30px 80px -30px rgba(0,0,0,.3);padding:20px}
.mock-pay{width:290px;top:0;left:0}
.st-visual-one{display:grid;place-items:center;min-height:0}
.st-visual-one .mock{position:static}
.mock-top{display:flex;align-items:center;gap:10px}
.mock-name{flex:1;font-weight:600;font-size:14px}
.mock-status{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:var(--warn-soft);color:var(--warn-text);font-size:12px;font-weight:500}
.mock-status i{width:6px;height:6px;border-radius:50%;background:currentColor}
.mock-amount{margin:18px 0 2px;font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.mock-amount small{font-size:18px;color:var(--ink-3);font-weight:600}
.mock-net{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink-3);font-size:14px}
.mock-qr{margin:18px auto 12px;width:150px;padding:12px;border-radius:16px;background:var(--surface-2);color:var(--ink)}
.mock-qr svg{display:block;width:100%;height:auto}
.mock-addr{margin:0;text-align:center;color:var(--ink-3);font-size:13px}

/* Sections */
.st-section{padding-block:56px}
.st-tight{padding-block:12px}
.st-title{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin-bottom:36px}
.st-title h2{font-size:clamp(30px,3.6vw,46px);line-height:1.08;letter-spacing:-.035em;max-width:22ch}
.st-title p{margin:0;color:var(--ink-2);font-size:17px;max-width:40em}
.st-title.st-left{align-items:flex-start;text-align:left;margin-bottom:0}
.st-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:28px;border-radius:24px;background:var(--surface-2);color:var(--ink);min-width:0}
.st-card h3{font-size:19px;letter-spacing:-.02em}
.st-card p{margin:0;color:var(--ink-2)}
.st-card .round{background:var(--surface)}
.st-big{margin:0;font-size:clamp(40px,4vw,56px);font-weight:700;letter-spacing:-.04em;line-height:1}
.st-card .st-big{color:var(--ink)}
.st-ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;color:var(--ink-2);font-size:14px}
.st-ticks li{position:relative;padding-left:26px}
.st-ticks li::before{content:"";position:absolute;left:3px;top:.38em;width:11px;height:6px;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(-45deg)}
.st-more{margin-top:auto;display:inline-flex;align-items:center;gap:4px;font-weight:600}
.st-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.st-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

/* Ecosystem: hero map */
.st-eco-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
.st-eco-hero h1{max-width:12ch}
.st-map{display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:28px;background:var(--surface-2)}
.st-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.st-map-group{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:20px;background:var(--surface);min-width:0}
.st-map-title{margin:0 0 4px;padding:2px 8px;color:var(--ink-3);font-size:13px;font-weight:500;text-decoration:none}
.st-map-title:hover{color:var(--ink)}
.st-map-item{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 8px;border-radius:12px;color:var(--ink);text-decoration:none;min-width:0}
.st-map-item:hover{background:var(--surface-2)}
.st-map-item .logo{font-size:10.5px;max-width:calc(100% - 18px);height:auto}
.st-map-key{display:flex;flex-wrap:wrap;gap:6px 18px;padding:2px 10px 4px;color:var(--ink-3);font-size:13px}
.st-map-key span{display:inline-flex;align-items:center;gap:8px}
.st-dot{flex:none;display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ink-4)}
.st-dot.is-live{background:var(--ok)}
.st-dot.is-preview{background:var(--info)}
.st-dot.is-soon{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ink-4)}

.st-eyebrow{margin:0;color:var(--ink-3);font-size:14px;font-weight:600}

/* Ecosystem: categories and products */
.st-cat{padding-block:44px;scroll-margin-top:72px}
.st-cat-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:6px 16px;margin-bottom:24px}
.st-cat-num{grid-row:span 2;font-family:var(--mono);font-size:15px;font-weight:600;color:var(--ink-3)}
.st-cat-head h2{font-size:clamp(28px,3vw,40px);line-height:1.1;letter-spacing:-.035em}
.st-cat-head p{margin:0;color:var(--ink-2);font-size:17px}
.st-eco-list{display:flex;flex-direction:column;padding:8px 28px;border-radius:28px;background:var(--surface-2)}
.st-eco{display:grid;grid-template-columns:240px minmax(0,1.5fr) minmax(0,1fr);gap:16px 40px;align-items:start;padding:26px 0;border-bottom:1px solid var(--line);scroll-margin-top:96px}
.st-eco:last-child{border-bottom:0}
.st-eco-name{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.st-eco-name .logo{font-size:12.5px;max-width:100%;height:auto}
.st-eco.is-soon .st-eco-name .logo{color:var(--ink-2)}
.st-eco-body{display:flex;flex-direction:column;gap:12px;min-width:0}
.st-eco-what{margin:0;font-size:16px;line-height:1.55;color:var(--ink)}
.st-eco-who{margin:0;display:flex;flex-direction:column;gap:2px;color:var(--ink-2);font-size:15px}
.st-eco-who span{color:var(--ink-3);font-size:13px;font-weight:600}
.st-eco-side{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.st-eco-side .st-more{margin-top:0}
.st-eco-label{margin:0 0 -6px;color:var(--ink-3);font-size:13px;font-weight:600}
.st-status{flex:none;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.st-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.st-status.is-live{background:var(--ok-soft);color:var(--ok-text)}
.st-status.is-preview{background:var(--info-soft);color:var(--info-text)}
.st-status.is-soon{background:var(--surface);color:var(--ink-3)}
.st-status.is-soon::before{background:none;box-shadow:inset 0 0 0 1.5px currentColor}


/* Coins */
.st-coins{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.st-coins li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:var(--surface-2);min-width:0}
.st-coins img{flex:none}
.st-coins li>span{display:flex;flex-direction:column;min-width:0}
.st-coins small{color:var(--ink-3);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Dark band */
.st-dark{background:#000000;color:#FFFFFF;border-block:1px solid #1F1F1F}
.st-dark h2,.st-dark h3{color:#FFFFFF}
.st-dark p{color:#A3A3A3;margin:0}
.st-dark article{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:24px;background:#141414}
.st-dark .round{background:#262626;color:#FFFFFF}

/* Code */
.st-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center}
.st-code{border-radius:24px;background:#0A0A0A;color:#E6E6E6;padding:8px;border:1px solid #1F1F1F;min-width:0}
.st-code-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:6px 8px 0 14px;color:#8A8A8A;font-size:13px}
.st-code .round{background:#1D1D1D;color:#FFFFFF}
.st-code pre,.st-doc pre{margin:0;padding:10px 14px 16px;overflow-x:auto;font-family:var(--mono);font-size:13px;line-height:1.65;color:#E6E6E6;tab-size:2}
.st-code pre code,.st-doc pre code{padding:0;background:none;color:inherit;font-size:inherit;border-radius:0}

/* FAQ */
.st-faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.st-faq details{border-radius:18px;background:var(--surface-2);padding:0 22px}
.st-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;font-weight:600;font-size:17px}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary::after{content:"+";flex:none;font-size:26px;font-weight:300;line-height:1;color:var(--ink-3);transition:transform .2s}
.st-faq details[open] summary::after{transform:rotate(45deg)}
.st-faq details p{margin:0 0 20px;color:var(--ink-2);max-width:68ch}
.st-faq a,.st-card a,.st-doc a{color:var(--ink);text-underline-offset:3px}

/* Call to action */
.st-band{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;padding:48px;border-radius:32px;background:#000000;color:#FFFFFF;border:1px solid #1F1F1F}
.st-band h2{color:#FFFFFF;font-size:clamp(28px,3vw,40px);letter-spacing:-.03em}
.st-band p{margin:0;color:#A3A3A3;max-width:42em}
.st-btn-invert{background:#FFFFFF;color:#000000}
.st-btn-invert:hover{background:#E6E6E6}
.st-btn-outline{color:#FFFFFF;box-shadow:inset 0 0 0 1px #3A3A3A}
.st-btn-outline:hover{background:#1A1A1A}

/* payment.zx page */
.st-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.st-steps li{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:24px;background:var(--surface-2)}
.st-step{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:var(--primary-ink);font-weight:700}
.st-steps p{margin:0;color:var(--ink-2)}
.st-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

/* aggregate.zx page */
.st-table-wrap{overflow-x:auto;border-radius:24px;background:var(--surface-2)}
.st-table{width:100%;border-collapse:collapse;min-width:720px}
.st-table th,.st-table td{padding:18px 20px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.st-table tbody tr:last-child th,.st-table tbody tr:last-child td{border-bottom:0}
.st-table tbody th{color:var(--ink-3);font-weight:500;width:180px}
.st-table code{font-family:var(--mono);font-size:13px}
.st-sources{margin:0;display:flex;align-items:baseline;gap:12px;color:var(--ink-2)}
.st-sources strong{font-size:44px;font-weight:700;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.st-endpoints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.st-endpoints>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;align-content:start;gap:6px 12px;padding:16px 18px;border-radius:16px;background:var(--surface-2)}
.st-endpoints code{font-family:var(--mono);font-size:14px;font-weight:600;overflow-wrap:anywhere;background:none;padding:0}
.st-endpoints p{grid-column:1/-1;margin:0;color:var(--ink-2);font-size:14px}
.st-endpoints div code{background:none;padding:0;border-radius:0}
.st-endpoints p code{font-size:13px;font-weight:500;color:var(--ink)}
.st-verb{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 8px;border-radius:6px;font-family:var(--mono);font-size:11px;font-weight:700}
.st-verb.get{background:var(--ok-soft);color:var(--ok-text)}
.st-verb.post{background:var(--info-soft);color:var(--info-text)}

/* Product pages: links under a section, feature write-ups, coin lists, field tables */
.st-more-row{display:flex;justify-content:center;margin-top:24px}
.st-more-row .btn{gap:6px}
.st-feats .st-doc{gap:48px}
.st-feat-head{display:flex;align-items:center;gap:14px}
.st-feat-head .round{background:var(--surface-2)}
.st-feat-head h2{margin:0}
.st-doc .st-feat-lead{font-size:17px;line-height:1.6;color:var(--ink)}
.st-feat .st-ticks{font-size:15px;gap:10px}
.st-feat .st-ticks li{color:var(--ink-2)}
.st-coin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;align-items:start}
.st-section>.st-title.st-left{margin-bottom:24px}
.st-coin-card{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:24px;background:var(--surface-2);min-width:0;scroll-margin-top:96px}
.st-coin-head{display:flex;align-items:center;gap:12px}
.st-coin-head img{flex:none}
.st-coin-head>div{flex:1;min-width:0}
.st-coin-head h2{font-size:19px;letter-spacing:-.02em;line-height:1.2}
.st-coin-head p{margin:0;color:var(--ink-3);font-size:14px}
.st-coin-nets{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.st-coin-nets li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0;border-top:1px solid var(--line)}
.st-coin-net{font-weight:500}
.st-coin-conf{color:var(--ink-3);font-size:13px;text-align:right}
.st-coin-nets code{grid-column:1/-1;font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.st-coin-modes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
.st-mode{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;font-size:12px;font-weight:500;background:var(--surface);color:var(--ink-3)}
.st-mode.on{background:var(--ok-soft);color:var(--ok-text)}
.st-coin{display:inline-flex;align-items:center;gap:10px}
.st-coin-table th[scope="row"]{color:var(--ink);font-weight:500;width:auto}
.st-table-top{margin-top:4px}
.st-table.st-coin-table{min-width:560px}
.st-fields{width:100%;border-collapse:collapse;font-size:14px}
.st-fields th,.st-fields td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.st-fields thead th{color:var(--ink-3);font-weight:500;font-size:13px}
.st-fields tbody tr:last-child td{border-bottom:0}
.st-fields td:first-child{white-space:nowrap}
.st-fields td{color:var(--ink-2)}
.st-doc .st-table-wrap{border-radius:18px}
.st-faq-wide{max-width:900px}
.st-fine-gap,.st-fine.st-fine-gap{margin-top:16px}
.st-plugin{display:flex;flex-direction:column;gap:20px;padding:32px;border-radius:28px;background:var(--surface-2);scroll-margin-top:96px}
.st-plugin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.st-plugin-head h2{font-size:clamp(26px,2.6vw,34px);letter-spacing:-.03em;margin-top:4px}
.st-plugin-lead{margin:0;font-size:17px;line-height:1.6;max-width:62em}
.st-plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.st-plugin-grid h3{font-size:18px;letter-spacing:-.02em}
.st-plugin-grid p{margin:0;color:var(--ink-2)}
.st-download{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding-top:20px;border-top:1px solid var(--line)}
.st-download .btn{gap:8px}
.st-download-meta{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--ink-3);font-size:13px}
.st-download-meta code{font-family:var(--mono);font-size:12px;color:var(--ink-2);overflow-wrap:anywhere;word-break:break-all}
.st-plugin-notes{max-width:820px;margin:28px auto 0}
.st-coin-nets code.st-coin-id{grid-column:auto;text-align:right;align-self:center}
.st-split-top{align-items:start}
.st-table.st-route-table{min-width:760px}
.st-route-table code{font-weight:600}
.st-route-table .muted{font-size:13px;font-weight:400}
.st-band-soft{background:var(--surface-2);color:var(--ink);border:0}
.st-band-soft h2{color:var(--ink)}
.st-band-soft p{color:var(--ink-2)}
.st-faq-group{margin:28px 0 6px;font-size:20px;letter-spacing:-.02em}
.st-faq-group:first-child{margin-top:0}
.st-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.st-stats>div{display:flex;flex-direction:column;gap:4px;padding:22px;border-radius:24px;background:var(--surface-2)}
.st-stats strong{font-size:clamp(32px,3.4vw,44px);font-weight:700;letter-spacing:-.04em;line-height:1}
.st-stats span{color:var(--ink-2);font-size:14px}
.st-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.st-kind{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:24px;background:var(--surface-2);min-width:0}
.st-kind h3{font-size:19px;letter-spacing:-.02em}
.st-kind p{margin:0;color:var(--ink-2)}
.st-kind-count{color:var(--ink-3);font-size:14px}
.st-modes-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.st-kind code{white-space:nowrap}
.st-providers{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:0;padding:0;list-style:none}
.st-providers-head{color:var(--ink-3);font-size:14px;margin-right:4px}
.st-provider{display:inline-flex;align-items:center;min-height:32px;padding:4px 14px;border-radius:999px;background:var(--surface-2);font-size:14px;font-weight:500}
.st-steps-v{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;counter-reset:step}
.st-steps-v li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:4px 14px;align-items:start;counter-increment:step}
.st-steps-v li::before{content:counter(step);grid-row:span 2;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:var(--primary-ink);font-weight:700;font-size:14px}
.st-steps-v strong{font-weight:600}
.st-steps-v span{color:var(--ink-2)}

/* Pricing, docs and legal pages */
.st-page-head{padding-block:72px 24px;display:flex;flex-direction:column;gap:16px}
.st-page-head h1{font-size:clamp(40px,5vw,64px);letter-spacing:-.045em;line-height:1.02}
.st-price-block{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;padding:32px;border-radius:28px;background:var(--surface-2)}
.st-price-name{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.st-price-name .logo{font-size:15px}
.st-price-name p{margin:0;color:var(--ink-3)}
.st-price-list{margin:0;display:flex;flex-direction:column}
.st-price-list>div{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.st-price-list>div:first-child{padding-top:0}
.st-price-list>div:last-child{border-bottom:0;padding-bottom:0}
.st-price-list dt{font-weight:600}
.st-price-list dd{margin:0;display:flex;flex-direction:column;gap:4px}
.st-price-list strong{font-size:22px;letter-spacing:-.02em}
.st-price-list span{color:var(--ink-2)}
.st-fine{margin:0;color:var(--ink-3);font-size:14px;max-width:60em}
.st-docs{display:grid;grid-template-columns:200px minmax(0,1fr);gap:48px;padding-block:24px 72px}
.st-toc{position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;gap:2px}
.st-toc a{padding:8px 12px;border-radius:10px;color:var(--ink-2);text-decoration:none;font-weight:500}
.st-toc a:hover{background:var(--surface-2);color:var(--ink)}
.st-doc{min-width:0;display:flex;flex-direction:column;gap:56px}
.st-doc section{display:flex;flex-direction:column;gap:14px;scroll-margin-top:96px}
.st-doc h2{font-size:30px;letter-spacing:-.03em}
.st-doc h3{font-size:19px;margin-top:8px}
.st-doc p,.st-doc li{color:var(--ink-2);max-width:72ch;margin:0}
.st-doc ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.st-doc pre{border-radius:18px;background:#0A0A0A;border:1px solid #1F1F1F;padding:16px 20px}
.st-doc code,.st-legal code,.st-card code{font-family:var(--mono);font-size:.88em;padding:1px 6px;border-radius:6px;background:var(--surface-2);color:var(--ink)}
.st-events{flex-direction:row!important;flex-wrap:wrap;list-style:none;padding:0!important}
.st-legal{max-width:860px;padding-block:64px 32px;display:flex;flex-direction:column}
.st-legal h1{font-size:clamp(36px,4.5vw,56px);letter-spacing:-.04em;line-height:1.05}
.st-legal .st-updated{margin:12px 0 36px;color:var(--ink-3)}
.st-legal section{display:flex;flex-direction:column;gap:12px}
.st-legal h2{font-size:22px;letter-spacing:-.02em;margin-top:4px}
.st-legal h3{font-size:17px;margin-top:8px}
.st-legal p,.st-legal li{color:var(--ink-2);line-height:1.7}
.st-legal p{margin:0}
.st-legal ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.st-legal ul:has(>li:nth-child(16)){display:block;columns:2;column-gap:40px}
.st-legal hr{border:0;border-top:1px solid var(--line);margin:28px 0}
.st-legal a{color:var(--ink);text-underline-offset:3px}
.st-legal strong{color:var(--ink);font-weight:600}
.st-legal-nav{max-width:860px;display:flex;flex-wrap:wrap;gap:8px;padding-bottom:56px}
.st-legal-nav a{height:40px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;background:var(--surface-2);color:var(--ink-2);text-decoration:none;font-weight:500}
.st-legal-nav a[aria-current="page"]{background:var(--primary);color:var(--primary-ink)}

/* Footer */
.st-footer{margin-top:40px;border-top:1px solid var(--line)}
.st-foot{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(6,minmax(0,1fr));gap:32px;padding-block:56px 40px}
.st-foot-brand{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.st-foot-brand .brand{padding:0}
.st-foot-brand .logo{font-size:26px}
.st-foot-brand p{margin:0;color:var(--ink-3);max-width:28ch}
.st-foot-icons{display:flex;gap:8px}
.st-foot-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}
.st-foot-col strong{font-size:14px;margin-bottom:4px}
.st-foot-col a,.st-foot-col span{color:var(--ink-3);text-decoration:none}
.st-foot-col a:hover{color:var(--ink)}
.st-foot-col .mono{font-size:13px}
.st-foot-col a.is-soon{color:var(--ink-4)}
.st-foot-col a.is-soon:hover{color:var(--ink-2)}
.st-foot-base{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;padding-block:20px 32px;border-top:1px solid var(--line);color:var(--ink-3);font-size:13px}
.st-foot-base a{color:inherit;text-decoration:none}
.st-foot-base a:hover{color:var(--ink)}
.st-foot-legal{display:flex;flex-wrap:wrap;gap:8px 20px;margin-right:auto}
/* The directory (crates/site): five footer columns, a narrow about block */
.st-dir-foot{grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr))}
/* A product's own site (payment.zx, aggregate.zx): its brand and two columns */
.st-product-foot{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}
.st-product-foot .st-foot-brand .logo{font-size:13px}
.st-mobile-cta-one{grid-template-columns:minmax(0,1fr)}
.st-dir-about{max-width:760px}
.st-dir-about p:not(.st-eyebrow){font-size:18px;line-height:1.6}

/* Narrower screens */
@media (max-width:1100px){
  .st-foot{grid-template-columns:repeat(3,minmax(0,1fr))}
  .st-foot-brand{grid-column:1/-1}
  .st-features,.st-grid4,.st-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-eco{grid-template-columns:200px minmax(0,1fr);gap:16px 32px}
  .st-eco-side{grid-column:2}
}
@media (max-width:1000px){
  .st-nav,.st-wide{display:none}
  .st-menu-btn{display:grid}
}
@media (min-width:1001px){
  .st-mobile{display:none!important}
}
@media (max-width:900px){
  .st-plugin-grid{grid-template-columns:minmax(0,1fr)}
  .st-plugin{padding:24px}
  .st-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-hero{grid-template-columns:minmax(0,1fr);padding-block:48px 24px;gap:40px}
  .st-visual{min-height:0;display:flex;flex-direction:column;align-items:center;gap:16px}
  .st-visual .mock{position:static;width:min(100%,360px)}
  .st-grid3,.st-split{grid-template-columns:minmax(0,1fr)}
  .st-price-block{grid-template-columns:minmax(0,1fr);padding:24px;gap:20px}
  .st-docs{grid-template-columns:minmax(0,1fr);gap:24px}
  .st-toc{position:static;flex-direction:row;flex-wrap:wrap}
  .st-endpoints{grid-template-columns:minmax(0,1fr)}
  .st-band{padding:32px 24px}
  .st-section{padding-block:40px}
}
@media (max-width:640px){
  .st-wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .st-features,.st-grid4,.st-steps{grid-template-columns:minmax(0,1fr)}
  .st-price-list>div{grid-template-columns:minmax(0,1fr);gap:4px}
  .st-foot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-legal ul:has(>li:nth-child(16)){columns:1}
  .st-card{padding:24px}
  .st-eco-list{padding:4px 20px}
  .st-eco{grid-template-columns:minmax(0,1fr);gap:14px;padding:22px 0}
  .st-eco-name{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  .st-eco-name .logo{max-width:calc(100% - 110px)}
  .st-eco-side{grid-column:auto}
  .st-cat-head{grid-template-columns:minmax(0,1fr)}
  .st-cat-num{grid-row:auto}
  .st-foot-base{flex-direction:column;align-items:flex-start}
}
@media (max-width:480px){
  .st-coin-grid{grid-template-columns:minmax(0,1fr)}
  .st-stats>div{padding:18px}
  .st-mid{display:none}
  .st-map-grid{grid-template-columns:minmax(0,1fr)}
  .st-map-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  .st-map-title{grid-column:1/-1}
  .st-map-item{gap:8px;padding:0 6px}
  .st-map-item .logo{font-size:9.5px;max-width:calc(100% - 16px)}
}
/* "ZX news" sign-up in the directory's footer, and its result page */
.st-news{display:flex;flex-direction:column;gap:6px;max-width:320px}
.st-news label{font-size:13px;font-weight:600;color:var(--ink-2,inherit)}
.st-news-row{display:flex;gap:6px}
.st-news-row input{flex:1;min-width:0;height:36px;padding:0 10px;border:1px solid var(--line,#d4d4d4);border-radius:10px;background:var(--bg,#fff);color:inherit;font:inherit;font-size:14px}
.st-news-row button{height:36px;padding:0 14px;border:0;border-radius:10px;background:var(--ink,#0a0a0a);color:var(--bg,#fff);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.st-news small{color:var(--ink-3,#737373);font-size:12px}
.st-news-hp{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}
.st-news-result{padding:72px 16px;max-width:560px}
.st-news-result h1{margin:0 0 12px}
.st-news-result p{color:var(--ink-2,inherit)}
.st-news-note{font-size:14px;color:var(--ink-3,#737373)}
