@font-face{font-family:"Nsnip Mono";src:url("/assets/fonts/JetBrainsMono-Regular.ttf");font-display:swap}
@font-face{font-family:"Nsnip Mono";src:url("/assets/fonts/JetBrainsMono-Bold.ttf");font-weight:800;font-display:swap}
:root{--ns-paper:#e5dcc7;--ns-paper-light:#eee6d3;--ns-ink:#312c31;--ns-muted:#665e62;--ns-petrol:#755783;--ns-rust:#ad7040;--ns-gold:#f7931a;--ns-line:#8e8188;--ns-sans:"Helvetica Neue",Helvetica,Arial,sans-serif;--ns-mono:"Nsnip Mono","SFMono-Regular",Consolas,monospace}
html,body{color:var(--ns-ink);background-color:var(--ns-paper-light)}body{font-family:var(--ns-sans);font-size:16px;line-height:1.58;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select,textarea{font-family:inherit}p,li,dd{text-wrap:pretty}
.content-hero h1,.content-section h2,.content-section h3,.cash-hero h1,.section-head h2,.product-cards h3,.outputs h2,.principle h2,.profile h1,.stream h2,.home-view h1,.page-heading h1,.snippet-flow h2,.protocol-strip h2,.security-ledger h2,.nsnip-bridge h2{font-family:var(--ns-sans);font-weight:800;letter-spacing:-.045em}.content-hero h1,.cash-hero h1,.profile h1,.home-view h1,.page-heading h1{line-height:.86}.content-hero h1 em,.cash-hero h1 em{font-family:inherit;font-weight:400}
.hero-note,.section-intro>p,.feature-grid p,.stack-list p,.legal-copy p,.legal-copy li,.cash-hero-lede,.about,.stream article p{font-family:var(--ns-sans);line-height:1.65}.hero-note,.section-intro>p{font-size:clamp(17px,1.7vw,24px)}.feature-grid p,.stack-list p,.legal-copy p,.legal-copy li{font-size:15px}.eyebrow,.kicker,.utility,.utility-label,.network-mark,.statusbar,.prototype-bar,code,.masthead small,.site-footer small{font-family:var(--ns-mono)}
.masthead,.site-header{min-height:82px;height:auto;padding:0 clamp(18px,4vw,64px);display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:clamp(20px,4vw,56px);color:var(--ns-ink);background:rgba(248,243,232,.97);border-bottom:1px solid var(--ns-ink)}.brand,.wordmark{display:flex;align-items:center;gap:10px;color:#000!important;font:800 20px/1 var(--ns-mono)!important;letter-spacing:-.055em;text-decoration:none}.brand>span:not(.brand-name),.wordmark .mark{width:38px;height:38px;display:grid;place-items:center;color:var(--ns-paper-light);background:var(--ns-petrol);font:800 12px/1 var(--ns-mono)}.brand-name{width:auto!important;height:auto!important;display:flex!important;align-items:center!important;align-self:center!important;color:#000!important;background:none!important;font:inherit!important}.brand-mark{width:40px;height:40px;flex:none;display:block;object-fit:contain}.brand-icon{width:72px;height:64px;display:block;flex:0 0 auto;align-self:center;margin-left:4px;object-fit:contain}
.masthead nav,.site-header nav{display:flex;align-items:center;gap:clamp(16px,2.4vw,32px);overflow-x:auto}.masthead nav a,.site-header nav a{position:relative;padding:31px 0 27px;color:var(--ns-ink);font:700 13px/1 var(--ns-sans);letter-spacing:0;text-decoration:none;text-transform:none;white-space:nowrap}.masthead nav a:hover,.masthead nav a:focus-visible,.site-header nav a:hover,.site-header nav a:focus-visible{color:var(--ns-petrol)}.masthead nav a[aria-current="page"]::after,.site-header nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:5px;background:var(--ns-rust)}.masthead small,.network-mark{justify-self:end;color:var(--ns-muted);font:800 8px/1.35 var(--ns-mono);letter-spacing:.1em;text-align:right}
.feature-grid article,.product-cards article,.essential-fields,.bulk-editor,.checkout,.outputs,.snippet-summary{background-color:var(--ns-paper);border-color:var(--ns-line)}.feature-grid article{display:flex;flex-direction:column}.tool-link{width:max-content;margin-top:auto;padding-top:24px;color:var(--ns-petrol);font:800 12px/1 var(--ns-mono);text-underline-offset:5px}.site-footer,body>footer:not(.site-footer){color:var(--ns-ink);background:var(--ns-paper-light)}.site-footer strong{font:800 24px/1 var(--ns-sans)}footer a{color:inherit;text-underline-offset:4px}:focus-visible{outline:3px solid var(--ns-petrol);outline-offset:3px}
@media(max-width:980px){.masthead,.site-header{grid-template-columns:auto 1fr}.masthead small,.network-mark{display:none}.masthead nav,.site-header nav{justify-content:flex-end;padding-block:8px}}
@media(max-width:620px){.masthead,.site-header{display:block;padding:14px 18px 10px}.brand,.wordmark{margin-bottom:10px}.masthead nav,.site-header nav{justify-content:flex-start;gap:18px;padding:5px 0 2px}.masthead nav a,.site-header nav a{padding:8px 0 10px;font-size:12px}.masthead nav a[aria-current="page"]::after,.site-header nav a[aria-current="page"]::after{bottom:0;height:3px}}
@media print{.masthead,.site-header,.statusbar,.prototype-bar,body>footer{display:none!important}}

/* Sovereign Signal: thermopaper skin. Layout and studio mechanics stay in the earlier layers. */
body{background-color:var(--ns-paper-light);background-image:radial-gradient(ellipse at 74% 12%,rgba(117,87,131,.08),transparent 30%),repeating-linear-gradient(0deg,rgba(49,44,49,.028) 0,rgba(49,44,49,.028) 1px,transparent 1px,transparent 7px),linear-gradient(90deg,rgba(221,211,188,.42),transparent 12%,transparent 88%,rgba(221,211,188,.38))}
.statusbar{color:var(--ns-paper-light);background:#352f39;box-shadow:inset 0 -3px 0 var(--ns-rust)}
.statusbar i{background:var(--ns-gold)}
.masthead,.site-header{background:rgba(238,230,211,.94);border-color:var(--ns-line)}
.masthead .brand .brand-name,.site-header .wordmark .brand-name,.brand-name{color:#4f3d5a!important}
.cash-hero .cash-hero-copy h1 em{color:transparent;-webkit-text-stroke:.03em var(--ns-ink)}
.cash-hero-lede,.section-head>p,.principle li span{color:var(--ns-muted)}
.cash-hero-object:before{background:#755783}
.cash-receipt-shadow{background:#f7931a;box-shadow:inset -12px 0 0 #ad7040}
.cash-slip-visual{color:var(--ns-ink);background-color:#f5edd9;background-image:repeating-linear-gradient(0deg,rgba(49,44,49,.025) 0,rgba(49,44,49,.025) 1px,transparent 1px,transparent 5px);border-color:var(--ns-ink);box-shadow:0 0 34px rgba(117,87,131,.16),8px 9px 0 rgba(169,130,53,.18)}
.cash-slip-visual:before,.cash-slip-visual:after{background:radial-gradient(circle at 4px 0,transparent 4px,#f5edd9 4.5px) 0 0/12px 8px repeat-x}
.cash-object-note{background:#755783}.cash-note-b{color:var(--ns-ink);background:#f7931a}
.eyebrow:before{background:var(--ns-rust)}
.button.dark{color:var(--ns-paper-light);background:#4f3d5a}.button.acid,.alias-line button,.bulk-row button{color:var(--ns-ink);background:var(--ns-gold)}
.creator{background:rgba(213,200,168,.72);border-color:var(--ns-line)}
.essential-fields,.bulk-editor,.checkout,.outputs,.snippet-summary{background:#e5dcc7!important;border-color:var(--ns-line)!important}
.studio-mode-selector{border-color:var(--ns-line)}
.studio-mode-selector label>span{color:var(--ns-ink);background:#eee6d3;border-color:var(--ns-line)}
.studio-mode-selector input:checked+span{color:var(--ns-paper-light);background:#4f3d5a;border-color:var(--ns-ink)}
.studio-mode-selector input:checked+span small{color:#e5dcc7}
.studio-mode-selector input:checked+span .mode-icons img{filter:brightness(0) invert(1)}
.studio-mode-selector input:checked+span .mode-icons-both img{filter:url(#studio-white-ostrich)}
.studio-mode-selector input:focus-visible+span{outline-color:var(--ns-rust)}
.alias-line input,.amount-line input,#count-field input,.bulk-row input,.bulk-row select,.post-profile textarea,#cash-slogan{color:var(--ns-ink);background:#f5edd9;border-color:var(--ns-line)}
.amount-line b,.price-box{color:var(--ns-paper-light);background:var(--ns-ink)}
.price-box strong{color:#f7931a}
.public-stats{color:#eee6d3;background:#211b28;border-color:#755783;box-shadow:inset 0 -3px 0 #ad7040}
.public-stats h2 span{color:#f7931a}.stats-grid,.stats-grid article{border-color:#655b68}
.principle{background:rgba(238,230,211,.82)}
body>footer:not(.site-footer){color:#eee6d3;background:#312c31;border-top:5px double #755783}

/* Shared mobile foundation for studio, wallet, profiles and content pages. */
html{min-height:100%;background:var(--ns-paper-light);-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:24px}
html,body{max-width:100%}
body{min-height:100vh;min-height:100dvh;overflow-x:hidden;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
button,input,select,textarea{font-family:inherit;font-size:16px}
button,a,input,select,textarea{touch-action:manipulation}
img,svg,canvas{max-width:100%}
.site-footer,body>footer:not(.site-footer){padding-bottom:max(24px,env(safe-area-inset-bottom))}

@media(max-width:620px){
  .masthead,.site-header{display:block;height:auto;padding:calc(12px + env(safe-area-inset-top)) 16px 9px}
  .brand,.wordmark{margin:0 0 9px}
  .masthead nav,.site-header nav{width:100%;justify-content:flex-start;flex-wrap:wrap;column-gap:20px;row-gap:0;overflow-x:visible;padding:5px 0 3px}
  .masthead nav::-webkit-scrollbar,.site-header nav::-webkit-scrollbar{display:none}
  .masthead nav a,.site-header nav a{min-height:40px;display:flex;align-items:center;padding:7px 0 9px;font-size:12px}
  .cash-hero-copy,.cash-hero-copy>*{min-width:0;max-width:100%}
  .content-hero,.content-section{padding-left:18px;padding-right:18px}
  .content-section>*{min-width:0}
  .section-intro{grid-template-columns:minmax(0,1fr)}
  .section-intro>*{min-width:0}
  .section-intro h2{font-size:clamp(38px,12.5vw,44px);hyphens:auto}
  .stack-list article{grid-template-columns:54px minmax(0,1fr)}
  .content-hero h1,.home-view h1,.page-heading h1{font-size:clamp(44px,14vw,61px)}
  .cash-hero-copy h1{font-size:clamp(44px,13vw,54px)}
  .cash-hero-actions,.hero-actions{align-items:stretch;flex-direction:column;gap:14px}
  .cash-hero-actions .button,.hero-actions .button{width:100%}
  .output-buttons{display:grid!important;grid-template-columns:1fr}
  .output-buttons .button{width:100%;min-height:52px}
  .site-footer{padding-left:18px;padding-right:18px}
}
.statusbar{height:27px;display:flex;align-items:center;justify-content:center;gap:9px;font:800 9px var(--ns-mono);letter-spacing:.14em}.statusbar i{width:6px;height:6px;flex:0 0 6px;border-radius:50%}
@media(max-width:620px){.masthead.home-masthead .brand{display:flex;margin:0 0 9px}}

/* Wallet palette: map the independent styles.css tokens to the nsnip palette
   so that toast messages, buttons and status colors remain consistent. */
:root{--chalk:#eee6d3;--paper:#f5edd9;--ink:#312c31;--soft-ink:#665e62;--line:#8e8188;--acid:#f7931a;--signal:#ad7040;--blue:#4f3d5a}
.button-dark{color:#eee6d3;background:#4f3d5a;border-color:#312c31}
.button-dark:hover{box-shadow:4px 4px 0 #ad7040}
.button-acid{color:#312c31;background:#f7931a}
.button-acid:hover{box-shadow:4px 4px 0 #312c31}
.toast{color:#eee6d3;background:#4f3d5a;box-shadow:5px 5px 0 #ad7040}
.pulse{background:#f7931a;box-shadow:0 0 0 3px rgba(169,130,53,.2)}
/* Touch targets: at least 44 px in each dimension. */
.masthead nav a,.site-header nav a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
footer a,.site-footer a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
.masthead .brand,.site-header .wordmark,.masthead .brand-name{min-height:44px;display:flex;align-items:center}
.skip-link{min-height:44px;display:inline-flex;align-items:center}
.language-switcher button{min-height:44px;min-width:44px}
.text-link,.text-button{min-height:44px;display:inline-flex;align-items:center}

/* Shared project footer contract 1.2.0 */
.site-footer[data-project-footer]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 28px;padding:12px clamp(18px,4vw,64px);border-top:1px solid var(--ns-line);color:var(--ns-ink);background:var(--ns-paper-light)}
.site-footer[data-project-footer] nav{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px clamp(14px,2vw,24px)}
.site-footer[data-project-footer] nav a{min-width:44px;min-height:44px;padding:0;color:inherit;font:500 9px/1 var(--ns-mono);letter-spacing:.06em;text-decoration:none;text-transform:uppercase}
.site-footer[data-project-footer] nav a:hover,.site-footer[data-project-footer] nav a:focus-visible{font-weight:800}
.site-footer[data-project-footer] small{display:flex;flex-wrap:wrap;justify-self:end;justify-content:flex-end;text-align:right;margin:0;gap:0 6px;padding:0;border:0;color:var(--ns-muted);font:500 8px/1.35 var(--ns-mono);letter-spacing:.04em;text-transform:uppercase}
@media(max-width:620px){.site-footer[data-project-footer]{grid-template-columns:1fr;align-items:start;gap:4px;padding:8px 18px max(10px,env(safe-area-inset-bottom))}.site-footer[data-project-footer] nav{display:flex;grid-template-columns:none;gap:0 16px}.site-footer[data-project-footer] small{justify-self:end}}

/* Paid checkout and the optional public profile form. */
.post-profile textarea{display:block;width:100%;max-width:100%;margin-top:8px;resize:vertical;font:inherit}
.post-profile p{overflow-wrap:anywhere;line-height:1.6}
#publish-description{white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.5}
#price-breakdown{font-size:12px;line-height:1.6}
#create-button:disabled,#publish-description:disabled{cursor:default;opacity:.65}
