:root {
  color-scheme: light;
  --paper:#f9f8f5; --white:#fffefa; --ink:#292429; --muted:#635b64;
  --violet:#542b52; --violet-dark:#372037; --apricot:#f3ad83;
  --line:#dcd8d1; --lavender:#eee7ef; --peach:#f6e2d2;
  font:100%/1.5 "DM Sans","Aptos","Segoe UI",Arial,sans-serif;
  background:var(--paper); color:var(--ink);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
:focus-visible{outline:3px solid #bc6639;outline-offset:4px}
h1,h2,h3,p,pre{margin:0}
code,pre,.eyebrow,.method,.console-tag,.docs-label{font-family:"IBM Plex Mono",Consolas,"Courier New",monospace}
code{font-size:.92em}
.shell{width:min(1192px,calc(100% - clamp(40px,9vw,144px)));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.masthead{min-height:80px;display:flex;align-items:center;gap:clamp(24px,5vw,76px)}
.wordmark{display:inline-flex;align-items:center;gap:.58rem;font-weight:750;font-size:1.6rem;letter-spacing:-.09em;white-space:nowrap}
.mark{width:1.12em;height:1em;display:inline-flex;gap:.12em;align-items:end;transform:skewX(-14deg);padding-left:.06em;flex-shrink:0}
.mark i{background:var(--violet);width:.22em;border-radius:1px}
.mark i:nth-child(1){height:40%}.mark i:nth-child(2){height:69%}.mark i:nth-child(3){height:100%}
.masthead nav{display:flex;gap:clamp(18px,2.6vw,38px);align-items:center}
.masthead nav a,.site-footer a:not(.wordmark){font-size:.955rem;font-weight:550;color:var(--muted)}
.masthead nav a:hover,.masthead nav a[aria-current],.site-footer a:hover{color:var(--violet);text-decoration:underline;text-underline-offset:5px}
.button,.button-small{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;line-height:1.25;border:1px solid var(--violet);border-radius:7px;min-height:2.9rem;padding:.72rem 1.15rem;font-weight:650;font-size:.98rem;text-align:center;background:transparent;color:var(--violet)}
.button:hover,.button-small:hover{background:var(--lavender)}
.primary,.nav-cta{background:var(--violet);color:#fff}
.primary:hover,.nav-cta:hover{background:var(--violet-dark)}
.nav-cta{margin-left:auto;min-height:2.55rem;padding:.55rem .92rem;font-size:.92rem}
.icon-key{width:14px;height:14px;position:relative;transform:rotate(-40deg)}
.icon-key:before{content:"";position:absolute;left:0;top:2px;width:5px;height:5px;border:1.6px solid currentColor;border-radius:50%}
.icon-key:after{content:"";position:absolute;left:6px;top:5px;width:7px;height:3px;border:solid currentColor;border-width:1.6px 1.6px 0 0}
.skip-link{position:fixed;z-index:5;left:.5rem;top:.5rem;padding:.65rem;background:var(--white);transform:translateY(-170%)}
.skip-link:focus{transform:none}
.hero{min-height:510px;padding-block:clamp(50px,5.8vw,88px);display:grid;grid-template-columns:1fr minmax(0,.87fr);gap:clamp(30px,7vw,100px);align-items:center}
.eyebrow{font-size:.81rem;text-transform:uppercase;letter-spacing:.115em;font-weight:650;color:var(--violet)}
.hero-copy>.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:1.6rem}
.meter-rule{display:inline-block;width:26px;height:11px;background:repeating-linear-gradient(115deg,transparent 0 3px,#af613f 3px 5px)}
.hero h1,.page-intro h1,.auth-intro h1{font-size:clamp(3.7rem,6.2vw,6rem);line-height:.96;letter-spacing:-.076em;font-weight:650}
.hero h1 span{color:var(--violet)}
.hero-copy>p{font-size:clamp(1.06rem,1.42vw,1.28rem);line-height:1.52;max-width:460px;margin-top:1.7rem;color:var(--muted)}
.hero-actions{display:flex;align-items:center;gap:1.35rem;margin-top:1.85rem;flex-wrap:wrap}
.text-link{font-size:.97rem;font-weight:650;color:var(--violet);text-decoration:underline;text-underline-offset:5px;text-decoration-color:#b99eaf}
.text-link:hover{text-decoration-color:currentColor}
.playground{background:#2a222e;color:#f8f0f5;border:1px solid #3a2b39;border-radius:13px;overflow:hidden;box-shadow:0 7px 0 0 #e2d9e1,0 8px 0 0 #d2c9d1;min-width:0}
.console-header{padding:.78rem 1.2rem;display:flex;align-items:center;gap:.75rem;justify-content:space-between;background:#392e3f;border-bottom:1px solid #504255}
.console-header h2{display:flex;align-items:center;gap:.65rem;font-size:.98rem;font-weight:620;letter-spacing:-.02em}
.console-header h2 span{font:700 1.1rem/1 Consolas,monospace;color:var(--apricot)}
.console-tag{font-size:.76rem;color:#e2d3e5}
.console-main{padding:1.1rem 1.25rem 1.2rem}
.console-tabs{display:flex;gap:.25rem;padding:.2rem;background:#211a24;border:1px solid #514253;border-radius:6px;width:fit-content}
.console-tabs button{font-size:.85rem;font-weight:575;line-height:1.4;color:#d6c6d8;background:transparent;border:0;border-radius:3px;padding:.28rem .65rem}
.console-tabs button[aria-pressed=true]{background:#544357;color:#fff}
.endpoint-line{display:flex;gap:.65rem;align-items:center;margin:1rem 0 .5rem}
.method{font-size:.77rem;font-weight:700;color:#9a4329;letter-spacing:.03em}
.endpoint-line .method{color:var(--apricot)}
.endpoint-line code{font-size:.92rem}
.sample-code,.console-output pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45;font-size:.86rem;color:#dbd0dd}
.sample-code{min-height:3.65em}
.console-caption,.full-request summary{font:.76rem/1.45 Consolas,monospace;color:#d6c7da}
.console-caption{display:block;margin-bottom:.22rem}
#requestJson{display:block;width:100%;min-height:7rem;resize:vertical;background:#211a24;border:1px solid #79627e;border-radius:5px;color:#f2e8f2;padding:.55rem .7rem;font:1rem/1.4 Consolas,monospace;tab-size:2}
#requestHelp{margin-top:.35rem}
.playground{scroll-margin-top:1rem}
.full-request{margin-top:.4rem}
.full-request summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;width:fit-content}
.full-request pre{margin-top:.6rem;white-space:pre-wrap;overflow-wrap:anywhere;max-height:16rem;overflow:auto;font-size:.82rem}
.console-output pre{max-height:9rem;overflow:auto;scrollbar-color:#79667d #2a222e}
.response-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:.75rem;margin-top:.7rem;border-top:1px solid #4d3e50}
.response-toolbar>span,.console-status{font-family:Consolas,monospace;font-size:.79rem}
.response-toolbar>span{color:#d3c2d6}
.response-toolbar button{display:inline-flex;align-items:center;gap:.43rem;border:1px solid #79627e;border-radius:5px;background:transparent;color:#f3e3f2;font-size:.81rem;padding:.27rem .55rem}
.response-toolbar button:hover{background:#504054}
.play-icon{width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid currentColor}
.console-output{margin-top:.5rem;min-height:7.6rem;padding:.65rem .8rem;border-radius:6px;background:#201a23}
.console-status{color:#eab795}
.console-output pre{color:#ddd2de;margin-top:.25rem}
.json-key{color:#e6b2da}.json-string{color:#b9d2aa}.json-number{color:#f4b78c}
.section{border-top:1px solid var(--line);padding:clamp(34px,4vw,62px) 0;scroll-margin-top:16px}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.6rem}
.section-heading h2,.panel h2,.workspace h2,.docs-content h2{font-size:clamp(1.8rem,3.1vw,2.75rem);line-height:1.12;font-weight:620;letter-spacing:-.055em}
.section-heading h2{margin-top:.35rem}
.section-heading>p,.panel>p,.subtle,.docs-content p{color:var(--muted)}
.section-heading>p{max-width:330px;font-size:.98rem}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
.card,.panel{background:var(--white);border:1px solid var(--line);border-radius:10px}
.product{display:flex;flex-direction:column;padding:clamp(20px,2.3vw,32px);position:relative;overflow:hidden;min-height:203px;transition:border-color .15s,transform .15s}
.product:hover{border-color:#a587a2;transform:translateY(-2px)}
.product-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.product-icon{display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:9px}
.product-icon.redact{background:var(--peach);color:#843f27}
.product-icon.catalog-audit{background:var(--lavender);color:var(--violet)}
.product-icon svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-top code{font-size:.83rem;color:var(--muted)}
.product-top .method{margin-right:.45rem}
.product h3,.plan h3,.key-row h3{font-size:1.35rem;letter-spacing:-.035em;font-weight:620}
.product p{margin-top:.36rem;color:var(--muted);max-width:38em}
.product .text-link{width:fit-content;margin-top:auto;padding-top:1rem}
.plan{padding:clamp(20px,2.3vw,32px)}
.plan-body{display:flex;align-items:baseline;gap:12px;margin-top:1rem;flex-wrap:wrap}
.price{font-size:2.8rem;font-weight:640;line-height:1.15;letter-spacing:-.055em}
.plan small{font-size:.9rem;color:var(--muted)}
.plan .button{margin-top:1.3rem}
.notice{border:1px solid #d8c1ab;border-radius:7px;background:#fcf0df;color:#64482f;padding:.75rem .95rem;margin-bottom:1rem}
.feedback{margin-top:.75rem;color:var(--violet)}
.feedback:empty{display:none}
.error,.feedback[data-kind=error]{color:#9a332f}
.site-footer{border-top:1px solid var(--line);padding-block:1.15rem;margin-top:1.35rem}
.site-footer>.shell{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.footer-brand{font-size:1.15rem}
.subpage{padding-block:clamp(35px,5vw,70px)}
.page-intro{margin-bottom:2.3rem}
.page-intro h1,.auth-intro h1{font-size:clamp(2.8rem,5.5vw,4.6rem);line-height:1.06;margin:.5rem 0 .75rem}
.page-intro>p:last-child,.auth-intro>p:last-child{font-size:1.08rem;color:var(--muted);max-width:590px}
.docs-layout{display:grid;grid-template-columns:minmax(175px,.4fr) minmax(0,1.6fr);align-items:start;gap:clamp(25px,6vw,84px)}
.docs-nav{display:grid;gap:.25rem;border-top:1px solid var(--line);padding-top:1rem}
.docs-nav a{padding:.5rem .8rem;border-radius:5px;color:var(--muted)}
.docs-nav a[aria-current]{background:var(--lavender);color:var(--violet);font-weight:650}
.docs-content{min-width:0;max-width:820px}
.docs-content h2{font-size:2rem;margin-bottom:1rem}
.docs-content h3,.panel h3{font-size:1.22rem;margin:1.25rem 0 .55rem;letter-spacing:-.025em}
.docs-content ol,.docs-content ul{padding-left:1.4rem}
.docs-content li{margin:.5rem 0}
.docs-content .button{margin-top:.75rem}
.docs-content .endpoint-line{margin:0 0 .7rem}
.docs-label{font-size:.85rem;color:var(--violet);font-weight:650}
.code-wrap{background:#2a222e;color:#eee4ee;border-radius:8px;margin:.6rem 0 1rem;overflow:hidden}
.code-head{padding:.45rem .85rem;display:flex;align-items:center;justify-content:space-between;background:#392e3f;font: .82rem Consolas,monospace}
.code-head button{font:inherit;color:#f4e8f5;background:transparent;border:1px solid #957f9a;border-radius:4px;padding:.25rem .5rem}
.code-wrap pre{padding:.9rem;font-size:.88rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.auth-layout{display:grid;grid-template-columns:1fr minmax(300px,.86fr);gap:clamp(25px,8vw,120px);align-items:start;max-width:1000px;margin:1rem auto 4rem}
.auth-intro{padding-top:.75rem}
.panel{padding:clamp(19px,2.4vw,32px)}
.panel h2,.workspace h2{font-size:1.55rem;margin-bottom:.7rem}
.auth-tabs{display:flex;gap:.3rem;border-bottom:1px solid var(--line);margin-bottom:1.35rem}
.auth-tabs button{padding:.55rem .65rem;background:transparent;border:0;border-bottom:2px solid transparent;font-weight:620;color:var(--muted)}
.auth-tabs button[aria-pressed=true]{color:var(--violet);border-color:var(--violet)}
label{display:grid;gap:.33rem;font-size:.94rem;font-weight:620}
label small{font-size:.82rem;font-weight:400;color:var(--muted)}
input{border:1px solid #bdb4bf;padding:.57rem .7rem;background:#fff;border-radius:5px;width:100%;min-width:0;font-size:1rem}
.stack{display:grid;gap:1rem}
.stack .button{width:fit-content}
.auth-footer{margin-top:1rem}
.plain-button{border:0;padding:0;background:transparent;font-size:.94rem}
.workspace-head,.balance-row,.panel-header,.key-row,.order-row,.secret-row,.confirm-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.workspace-head{align-items:flex-start}
.workspace-head .page-intro{margin-bottom:1.5rem}
.wallet{background:#392a3d;color:#fff;border-radius:10px;padding:clamp(20px,3vw,36px);margin-bottom:1rem}
.balance-row{align-items:flex-end}
.wallet .eyebrow{color:#f2c3a7}.wallet .price{font-size:clamp(2.6rem,5vw,4.2rem)}
.wallet .button{background:#f2ceb4;border-color:#f2ceb4;color:#322331}
.wallet p{margin-top:.3rem;color:#eddfec}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:1rem;align-items:start}
.key-form{display:flex;align-items:flex-end;gap:.6rem;flex-wrap:wrap;margin:1rem 0}
.key-form label{flex:1 1 160px}
.button-small{min-height:2.4rem;padding:.48rem .7rem;font-size:.91rem;border-radius:5px}
.key-row,.order-row{border-top:1px solid var(--line);padding:.75rem 0;font-size:.92rem;align-items:flex-start}
.key-row h3{font-size:1.05rem;margin:0;overflow-wrap:anywhere}
.key-row p,.order-row .subtle{font-size:.88rem}
.order-value{text-align:right;flex-shrink:0}
.order-value b,.order-value span{display:block}
.key-row .button-small{min-height:2rem;padding:.3rem .55rem}
.empty{color:var(--muted);margin-top:.8rem}
.secret-box{border:1px solid #baa2bc;background:#f3edf4;border-radius:7px;padding:1rem;margin:0 0 1rem}
.secret-box h2{font-size:1.1rem;letter-spacing:-.02em;margin:0}
.secret-box p{color:var(--muted);margin:.25rem 0 .6rem}
.secret-row{align-items:flex-start;flex-wrap:wrap}
.secret-row code{overflow-wrap:anywhere;user-select:all}
.secret-row>div,.confirm-row>div{display:flex;gap:.4rem;flex-wrap:wrap}
.confirm-row{flex-wrap:wrap;border:1px solid #d9bdab;border-radius:6px;padding:.75rem;background:#fcf1e9}
.toast{position:fixed;bottom:1rem;right:1rem;max-width:calc(100% - 2rem);background:var(--violet-dark);color:#fff;padding:.65rem 1rem;border-radius:6px;z-index:10}
@media(max-width:860px){
 .shell{width:calc(100% - 48px)}.hero{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,.96fr)}.hero h1{font-size:clamp(3.2rem,7.4vw,4.3rem)}
 .hero-copy>p{font-size:1.05rem}.console-main{padding:1rem}.workspace-grid{grid-template-columns:1fr}
}
@media(max-width:690px){
 .shell{width:calc(100% - 36px)}.masthead{min-height:66px;gap:1rem;flex-wrap:wrap;padding:12px 0}.wordmark{font-size:1.4rem}
 .masthead nav{gap:.8rem;margin-left:auto}.masthead nav a{font-size:.88rem}.nav-cta{margin-left:0;min-height:2.25rem;font-size:.86rem;padding:.45rem .65rem}
 .hero{grid-template-columns:1fr;padding-block:44px;gap:30px}.hero h1{font-size:clamp(3.5rem,10vw,4.8rem)}.hero-copy>.eyebrow{margin-bottom:1rem}
 .hero-copy>p{margin-top:1.1rem}.hero-actions{margin-top:1.2rem}
 .console-output{min-height:0}.section-heading{display:block}.section-heading>p{margin-top:.45rem;max-width:none}
 .card-grid,.auth-layout,.docs-layout{grid-template-columns:1fr}.auth-layout{margin-top:0;margin-bottom:1rem}
 .docs-nav{display:flex;gap:.3rem;flex-wrap:wrap}.docs-nav a{font-size:.87rem;padding:.4rem .55rem}
 .product{min-height:0}.site-footer{margin-top:.5rem}.workspace-head{gap:.6rem}
}
@media(max-width:445px){
 .masthead{display:grid;grid-template-columns:1fr auto;gap:.5rem}.masthead nav{grid-row:2;grid-column:1/-1;margin:0;gap:1.25rem}
 .nav-cta{grid-row:1;grid-column:2}.product-top code{font-size:.78rem}.balance-row{align-items:flex-start;flex-direction:column}
 .section-heading h2{font-size:2rem}.auth-layout{gap:1.25rem}.workspace-head .button-small{white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
