*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#131313;
  --bg-deep:#0e0e0e;
  --surface:#1a1a1d;
  --surface-alt:#202024;
  --surface-strong:#2a2a30;
  --surface-edge:#383841;
  --text:#e7e7ea;
  --text-muted:#b6b6c0;
  --text-dim:#7e7e8a;
  --primary:#c4b5fd;
  --primary-strong:#7c3aed;
  --primary-dim:#6d28d9;
  --primary-on:#0c0a1f;
  --secondary:#a78bfa;
  --tertiary:#ddd6fe;
  --border:#2a2a33;
  --border-soft:rgba(167,139,250,.16);
  --danger:#f87171;
  --radius:8px;
  --shadow:0 0 50px rgba(124,58,237,.06);
}
@keyframes revealFadeUp{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:none}
}
[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  will-change:opacity,transform;
}
[data-reveal].is-visible{
  animation:revealFadeUp .55s cubic-bezier(.2,.6,.2,1) both;
}
[data-reveal-stagger] > [data-reveal]:nth-child(1){animation-delay:0ms}
[data-reveal-stagger] > [data-reveal]:nth-child(2){animation-delay:80ms}
[data-reveal-stagger] > [data-reveal]:nth-child(3){animation-delay:160ms}
[data-reveal-stagger] > [data-reveal]:nth-child(4){animation-delay:240ms}
[data-reveal-stagger] > [data-reveal]:nth-child(5){animation-delay:320ms}
[data-reveal-stagger] > [data-reveal]:nth-child(6){animation-delay:400ms}
.landing-hero-copy > [data-reveal]:nth-child(1){animation-delay:0ms}
.landing-hero-copy > [data-reveal]:nth-child(2){animation-delay:80ms}
.landing-hero-copy > [data-reveal]:nth-child(3){animation-delay:160ms}
.landing-hero-copy > [data-reveal]:nth-child(4){animation-delay:240ms}
.landing-hero-visual[data-reveal]{animation-delay:160ms}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{opacity:1;transform:none;animation:none}
}

html{
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:rgba(124,58,237,.42) var(--bg-deep);
}
*{
  scrollbar-width:thin;
  scrollbar-color:rgba(124,58,237,.42) var(--bg-deep);
}
*::-webkit-scrollbar{
  width:12px;
  height:12px;
}
*::-webkit-scrollbar-track{
  background:var(--bg-deep);
}
*::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(124,58,237,.42) 0%,rgba(167,139,250,.26) 100%);
  border:3px solid var(--bg-deep);
  border-radius:999px;
}
*::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,rgba(124,58,237,.58) 0%,rgba(167,139,250,.38) 100%);
}
*::-webkit-scrollbar-corner{
  background:var(--bg-deep);
}
body{
  background:var(--bg);
  color:var(--text);
  font-family:"Inter","Space Grotesk",ui-sans-serif,system-ui,sans-serif;
  font-feature-settings:"cv02","cv03","cv04","cv11";
  line-height:1.6;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
:root{
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
body.landing-body{overflow-x:hidden}
body.docs-body{
  overflow:auto;
}
body.docs-body main{
  padding-top:0;
  height:auto;
  min-height:100vh;
}
main{flex:1}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.container{max-width:960px;margin:0 auto;padding:0 1.5rem}
.material-symbols-outlined{
  font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  line-height:1;
}
.material-symbols-outlined[data-icon]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:0;
}
.material-symbols-outlined[data-icon]::before{
  font-size:var(--icon-size,1rem);
  font-weight:700;
  line-height:1;
}
.material-symbols-outlined[data-icon="terminal"]::before{content:">_"}
.material-symbols-outlined[data-icon="source"]::before{content:"{}"}
.material-symbols-outlined[data-icon="rss_feed"]::before{content:"~>"}
.material-symbols-outlined[data-icon="arrow_right_alt"]::before{content:"->"}
.material-symbols-outlined[data-icon="check_circle"]::before{content:"+"}

@keyframes pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.9)}
}

/* Shared UI */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.6rem 1rem;
  border:1px solid transparent;
  border-radius:var(--radius);
  font-size:.88rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.btn-sm{padding:.4rem .8rem;font-size:.82rem}
.btn-lg{padding:.85rem 1.4rem;font-size:.95rem}
.btn-block{display:flex;width:100%}
.btn-primary{
  background:var(--primary-strong);
  color:#0c0a1f;
}
.btn-primary:hover{background:var(--primary-dim)}
.btn-outline{
  background:transparent;
  border-color:var(--border-soft);
  color:var(--text);
}
.btn-outline:hover{background:var(--surface-strong);border-color:rgba(167,139,250,.35)}

/* Default nav/footer for auth/dashboard */
.navbar{
  background:var(--surface-alt);
  border-bottom:1px solid rgba(124,58,237,.08);
  padding:.9rem 0;
}
.nav-content{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.nav-brand-block{display:flex;align-items:center;gap:1.5rem}
.nav-logo{
  color:var(--text);
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:none;
}
.nav-menu{display:flex;align-items:center;gap:1.25rem}
.nav-link{
  color:var(--text-muted);
  font-size:.9rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  transition:color .15s ease;
}
.nav-link:hover{color:var(--text)}
.nav-link-active{color:var(--text)}
.nav-links{display:flex;align-items:center;gap:.75rem}
.nav-user{
  color:var(--text-muted);
  font-size:.85rem;
  letter-spacing:0;
  text-transform:none;
}
.nav-form{display:inline}

.footer{
  border-top:1px solid rgba(124,58,237,.08);
  padding:1.6rem 0;
  color:var(--text-dim);
  font-size:.8rem;
  background:var(--bg-deep);
}
.footer-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.footer-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}
.footer-links a{
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
}
.footer-links a:hover{color:var(--primary)}

/* Landing */
.landing-body main{padding-top:0}
.landing-shell{max-width:1440px;margin:0 auto;padding:0 2rem}
.landing-topbar{
  position:sticky;
  top:0;
  width:100%;
  z-index:50;
  background:rgba(19,19,19,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.landing-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  min-height:84px;
}
.landing-brand{
  color:var(--text);
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:none;
  position:relative;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  cursor:pointer;
}
.landing-brand .binary-logo-char{
  position:relative;
  display:inline-block;
  line-height:1;
}
.landing-brand .binary-logo-letter{
  display:inline-block;
  transition:opacity .12s ease;
  will-change:opacity,transform;
}
.landing-brand .binary-logo-binary{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(1);
  display:grid;
  grid-template-columns:repeat(2,1em);
  grid-auto-rows:1em;
  align-items:center;
  justify-items:center;
  font-family:var(--font-mono);
  font-size:.34em;
  line-height:1;
  letter-spacing:0;
  color:#22ff8c;
  pointer-events:none;
  opacity:0;
  text-shadow:0 0 4px rgba(34,255,140,.55),0 0 10px rgba(34,255,140,.25);
  transition:opacity .35s ease,transform .35s cubic-bezier(.2,.7,.25,1);
  white-space:nowrap;
  user-select:none;
}
.landing-brand .binary-logo-digit{
  display:inline-block;
  width:1em;
  text-align:center;
  transition:opacity .08s linear,color .12s ease;
  will-change:opacity,color;
}
.landing-brand .binary-logo-char.is-scrambling .binary-logo-letter{
  opacity:0;
}
.landing-brand .binary-logo-char.is-scrambling .binary-logo-binary{
  opacity:1;
  transform:translate(-50%,-50%) scale(1.05);
}
.landing-brand .binary-logo-char.is-resolved .binary-logo-letter{
  opacity:1;
  animation:binaryLetterSnap .42s cubic-bezier(.18,.7,.35,1) both;
}
.landing-brand .binary-logo-char.is-resolved .binary-logo-binary{
  opacity:0;
  transform:translate(-50%,-50%) scale(.7);
  transition:opacity .28s ease,transform .32s cubic-bezier(.4,0,.2,1);
}
@keyframes binaryLetterSnap{
  0%{
    opacity:0;
    transform:translateY(2px) scale(.9);
    filter:blur(2px);
    color:#22ff8c;
    text-shadow:0 0 14px rgba(34,255,140,.85),0 0 4px rgba(34,255,140,.6);
  }
  45%{
    opacity:1;
    transform:scale(1.05);
    filter:blur(0);
    color:#22ff8c;
    text-shadow:0 0 12px rgba(34,255,140,.55);
  }
  100%{
    opacity:1;
    transform:none;
    filter:blur(0);
    color:var(--text);
    text-shadow:none;
  }
}
@media (prefers-reduced-motion:reduce){
  .landing-brand .binary-logo-binary{display:none}
  .landing-brand .binary-logo-letter{opacity:1!important;animation:none!important;color:var(--text)!important;text-shadow:none!important}
}
.landing-menu{
  display:flex;
  align-items:center;
  gap:2rem;
}
.landing-menu-link{
  color:var(--text-muted);
  font-size:.9rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  transition:color .15s ease;
}
.landing-menu-link:hover{color:var(--text)}
.landing-menu-link-active{color:var(--text)}
.landing-nav-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
}
.landing-auth-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.5rem 1rem;
  background:var(--primary-strong);
  color:#fff;
  border-radius:var(--radius);
  font-size:.88rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  transition:background-color .15s ease;
}
.landing-auth-cta:hover{background:var(--primary-dim)}
.landing-auth-cta--ghost{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}
.landing-auth-cta--ghost:hover{background:var(--surface-strong);border-color:rgba(167,139,250,.35)}
.landing-logout-form{display:inline}
.landing-nav-user{
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
}

.landing-hero{
  position:relative;
  padding:3rem 0 5rem;
  overflow:hidden;
}
.landing-hero,.landing-modules,.landing-pricing,.landing-section-heading{scroll-margin-top:110px}
.landing-hero-gradient{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(124,58,237,.05) 0%,rgba(19,19,19,0) 100%);
  pointer-events:none;
}
.landing-hero-layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
  gap:3rem;
  align-items:center;
  min-height:calc(100svh - 84px - 8rem);
}
.landing-hero-copy{max-width:64rem}
.landing-status-banner{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  padding:.45rem .8rem;
  margin-bottom:2rem;
  background:var(--surface-strong);
  border-left:2px solid var(--primary-strong);
}
.landing-status-banner span:last-child{
  color:var(--primary);
  font-size:.65rem;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.landing-status-dot{
  width:.5rem;
  height:.5rem;
  border-radius:999px;
  background:var(--primary-strong);
  animation:pulse 1.5s ease-in-out infinite;
}
.landing-hero h1{
  color:var(--text);
  font-size:clamp(2.6rem,5.4vw,5.4rem);
  line-height:1;
  letter-spacing:-.04em;
  font-weight:600;
  max-width:14ch;
  margin-bottom:1.5rem;
}
.landing-hero p{
  color:var(--text-muted);
  font-size:clamp(1.05rem,1.4vw,1.2rem);
  line-height:1.65;
  max-width:34rem;
  margin-bottom:2.25rem;
}
.landing-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}
.landing-primary-action,.landing-secondary-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1.4rem;
  border-radius:var(--radius);
  font-size:.88rem;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  transition:transform .15s ease,background-color .2s ease,border-color .2s ease;
}
.landing-primary-action{
  background:var(--primary-strong);
  color:#fff;
}
.landing-primary-action:hover{background:var(--primary-dim)}
.landing-secondary-action{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}
.landing-primary-action:hover,.landing-secondary-action:hover{transform:translateY(-1px)}
.landing-secondary-action:hover{background:var(--surface-strong)}

.landing-hero-meta{
  margin-top:1.5rem;
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:center;
  color:var(--text-dim);
  font-family:var(--font-mono);
  font-size:.82rem;
}
.landing-meta-key{color:var(--secondary)}
.landing-meta-sep{color:var(--border);margin:0 .25rem}

.landing-hero-visual{display:flex;justify-content:flex-end;width:100%}
.landing-terminal-shell{
  position:relative;
  width:min(680px,100%);
  background:linear-gradient(180deg,#1b1b22 0%,#13131a 100%);
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.6),0 0 0 1px rgba(167,139,250,.04),0 0 60px -10px rgba(124,58,237,.18);
}
.landing-terminal-chrome{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.55rem .9rem .55rem .9rem;
  background:rgba(255,255,255,.03);
  border-bottom:1px solid var(--border);
}
.landing-terminal-dot{
  width:.7rem;
  height:.7rem;
  border-radius:999px;
  display:inline-block;
}
.landing-terminal-dot--red{background:#ff5f57}
.landing-terminal-dot--amber{background:#febc2e}
.landing-terminal-dot--green{background:#28c840}
.landing-terminal-tabs{
  display:flex;
  align-items:center;
  gap:.25rem;
  margin-left:.5rem;
}
.landing-terminal-tab{
  appearance:none;
  background:transparent;
  border:none;
  border-bottom:1px solid transparent;
  color:var(--text-dim);
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:500;
  padding:.3rem .65rem;
  cursor:default;
  transition:color .2s ease,border-color .2s ease,background .2s ease;
  border-radius:6px 6px 0 0;
}
.landing-terminal-tab.is-active{
  color:var(--text);
  background:rgba(124,58,237,.12);
  border-bottom-color:var(--primary-strong);
}
.landing-terminal-panes{position:relative}
.landing-terminal-pane{display:none}
.landing-terminal-pane.is-active{display:block}
.landing-terminal-screen{
  min-height:300px;
  padding:1.2rem 1.4rem;
  color:var(--text);
  font-family:var(--font-mono);
  font-size:.86rem;
  line-height:1.55;
  white-space:pre-wrap;
  word-break:break-word;
  background:#0e0e15;
}
.landing-claude-screen{background:#0a0a10}
.landing-claude-screen .term-user{color:var(--text)}
.landing-claude-screen .term-tool{color:var(--primary)}
.landing-claude-screen .term-tool-arg{color:var(--text-dim)}
.landing-claude-screen .term-tool-result{color:#86efac;padding-left:1.2rem}
.landing-claude-screen .term-assistant{color:var(--text);padding:.4rem 0}
.landing-claude-screen .term-prompt-marker{color:var(--secondary);margin-right:.4rem}

.landing-mouse{
  position:absolute;
  top:60%;
  left:60%;
  width:22px;
  height:22px;
  color:#fff;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.6));
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease,top .9s cubic-bezier(.4,.1,.2,1),left .9s cubic-bezier(.4,.1,.2,1),transform .12s ease;
  z-index:5;
}
.landing-mouse.is-visible{opacity:1}
.landing-mouse.is-clicking{transform:scale(.78)}
.landing-mouse svg{display:block}
.landing-terminal-screen .term-prompt{color:var(--primary)}
.landing-terminal-screen .term-cmd{color:var(--text)}
.landing-terminal-screen .term-out{color:var(--text-muted)}
.landing-terminal-screen .term-dim{color:var(--text-dim)}
.landing-terminal-screen .term-ok{color:#86efac}
.landing-terminal-screen .term-warn{color:#fcd34d}
.landing-terminal-screen .term-link{color:var(--secondary);text-decoration:underline;text-decoration-color:rgba(167,139,250,.4)}
.landing-terminal-cursor{
  display:inline-block;
  width:.55ch;
  height:1.05em;
  vertical-align:text-bottom;
  background:var(--primary);
  margin-left:.05ch;
  animation:terminalCursor 1.05s step-end infinite;
}
@keyframes terminalCursor{50%{opacity:0}}
.landing-cursor{animation:pulse 1.1s ease-in-out infinite}

.landing-modules{
  padding:6rem 0;
  background:var(--surface);
  border-top:1px solid rgba(45,38,68,.1);
  border-bottom:1px solid rgba(45,38,68,.1);
}
.landing-module-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:rgba(45,38,68,.1);
  border:1px solid rgba(45,38,68,.1);
}
.landing-module-card{
  background:var(--bg);
  padding:3rem;
  min-height:100%;
  transition:background-color .2s ease;
}
.landing-module-card:hover{background:var(--surface-alt)}
.landing-module-icon{
  margin-bottom:2rem;
  color:var(--primary);
}
.landing-module-icon .material-symbols-outlined{--icon-size:2.7rem}
.landing-module-icon-secondary{color:var(--secondary)}
.landing-module-icon-tertiary{color:var(--tertiary)}
.landing-module-card h3{
  color:var(--primary);
  font-size:2rem;
  font-weight:700;
  letter-spacing:-.05em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.landing-module-card p{
  color:var(--text-muted);
  font-size:1rem;
  line-height:1.75;
  margin-bottom:2rem;
  max-width:27rem;
}
.landing-module-card a{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:var(--primary);
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.landing-module-card a:hover{text-decoration:underline}
.landing-module-card a .material-symbols-outlined{--icon-size:1rem}

.landing-pricing{
  padding:8rem 0;
  background:var(--bg);
}
.landing-pricing-intro{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin-bottom:5rem;
}
.landing-pricing-intro p{
  color:var(--primary);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.5em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.landing-pricing-intro h3{
  color:var(--text);
  font-size:clamp(2.3rem,4vw,4.2rem);
  font-weight:700;
  letter-spacing:-.06em;
  text-transform:uppercase;
  max-width:14ch;
  line-height:.95;
}
.landing-pricing-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2rem;
}
.landing-pricing-card{
  position:relative;
  border:1px solid rgba(45,38,68,.2);
  background:rgba(28,27,27,.3);
  padding:3rem;
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:border-color .2s ease,background-color .2s ease;
}
.landing-pricing-card:hover{
  border-color:rgba(167,139,250,.4);
  background:rgba(28,27,27,.55);
}
.landing-pricing-card-featured{
  border-width:2px;
  border-color:rgba(124,58,237,.4);
  background:rgba(28,27,27,.5);
}
.landing-pricing-badge{
  position:absolute;
  top:-.85rem;
  left:50%;
  transform:translateX(-50%);
  padding:.35rem .85rem;
  background:var(--primary-strong);
  color:#0c0a1f;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.landing-pricing-header{margin-bottom:2rem}
.landing-pricing-header p{
  color:var(--text-dim);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:.5rem;
}
.landing-pricing-header h4{
  color:var(--primary);
  font-size:2.2rem;
  font-weight:700;
  letter-spacing:-.05em;
  text-transform:uppercase;
  margin-bottom:.35rem;
}
.landing-price-row{display:flex;align-items:flex-end;gap:.35rem}
.landing-price{
  color:var(--text);
  font-size:3rem;
  font-weight:700;
  letter-spacing:-.06em;
  line-height:1;
}
.landing-price-note{
  color:var(--text-dim);
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding-bottom:.3rem;
}
.landing-pricing-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-bottom:2rem;
  flex:1;
}
.landing-pricing-list li{
  display:flex;
  align-items:center;
  gap:.75rem;
  color:var(--text-muted);
  font-size:.95rem;
}
.landing-pricing-list .material-symbols-outlined{
  color:var(--primary);
  --icon-size:1.15rem;
  flex-shrink:0;
}
.landing-pricing-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:52px;
  padding:1rem 1.5rem;
  border-radius:var(--radius);
  background:var(--primary-strong);
  color:#0c0a1f;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  transition:transform .15s ease,background-color .2s ease,border-color .2s ease;
}
.landing-pricing-action:hover{background:var(--primary-dim);transform:translateY(-1px)}
.landing-pricing-action-secondary{
  background:transparent;
  border:1px solid rgba(167,139,250,.4);
  color:var(--text);
}
.landing-pricing-action-secondary:hover{background:var(--surface-strong)}

.landing-footer{
  background:transparent;
  border-top:1px solid var(--border);
  padding:2rem 0;
}
.landing-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
}
.landing-footer-copyright{
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
}
.landing-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:1.4rem;
}
.landing-footer-links a{
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
  transition:color .15s ease;
}
.landing-footer-links a:hover{color:var(--text)}

/* Docs */
.docs-shell{max-width:1320px;margin:0 auto;padding:0 2rem}
.docs-app{
  --docs-topbar-height:82px;
  width:min(calc(100% - clamp(2rem, 4vw, 4rem)), 1440px);
  height:auto;
  min-height:100vh;
  margin:0 auto;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  background:transparent;
}
.docs-main{
  min-height:calc(100vh - var(--docs-topbar-height));
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  align-items:start;
}
.docs-rail{
  position:sticky;
  top:var(--docs-topbar-height);
  align-self:start;
  height:calc(100vh - var(--docs-topbar-height));
  overflow:hidden;
  border-right:1px solid rgba(124,58,237,.08);
  background:
    linear-gradient(180deg, var(--surface-alt) 0%, var(--bg-deep) 100%);
}
.docs-rail-inner{
  position:relative;
  top:auto;
  height:100%;
  max-height:none;
  overflow:auto;
  padding:1.35rem 1rem 1.5rem 1rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.docs-page{
  min-width:0;
  height:auto;
  min-height:0;
  overflow:visible;
  padding:0 clamp(1.5rem, 4vw, 4rem);
  background:transparent;
}
.docs-topbar-brand{
  flex-shrink:0;
}
.docs-kicker{
  color:var(--primary);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:.2rem;
}
.docs-rail-actions{
  display:flex;
  flex-direction:column;
  gap:.7rem;
}
.docs-topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  gap:1.25rem;
  min-height:var(--docs-topbar-height);
  padding:1rem 1.6rem;
  border-bottom:1px solid var(--border);
  background:rgba(19,19,19,.94);
  backdrop-filter:blur(14px);
}
.docs-topbar .docs-search{flex:0 0 280px;max-width:280px}
.docs-topbar-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-left:auto;
}
.docs-topbar-search{
  display:flex;
}
.docs-topbar-label{
  color:var(--text-dim);
  font-size:.9rem;
  white-space:nowrap;
}
.docs-topbar-shortcut{
  color:var(--text-muted);
  font-size:.82rem;
  font-weight:700;
  flex-shrink:0;
}
.docs-search{
  position:relative;
  width:100%;
}
.docs-search-shell{
  display:flex;
  align-items:center;
  gap:.8rem;
  width:100%;
  padding:.72rem .9rem;
  border:1px solid var(--border-soft);
  border-radius:999px;
  background:var(--surface-alt);
}
.docs-search-shell:focus-within{
  border-color:rgba(124,58,237,.36);
  box-shadow:0 0 0 3px rgba(124,58,237,.08);
}
.docs-search-input{
  flex:1;
  min-width:0;
  border:none;
  background:transparent;
  color:var(--text);
  font:inherit;
  outline:none;
}
.docs-search-input::-webkit-search-decoration,
.docs-search-input::-webkit-search-results-button,
.docs-search-input::-webkit-search-results-decoration{
  -webkit-appearance:none;
  appearance:none;
}
.docs-search-input::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
  width:1rem;
  height:1rem;
  margin-left:.35rem;
  border:1px solid rgba(124,58,237,.2);
  border-radius:999px;
  cursor:pointer;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2300ff41' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2.25 2.25 9.75 9.75M9.75 2.25 2.25 9.75'/%3E%3C/svg%3E") center/9px 9px no-repeat,
    linear-gradient(180deg, rgba(124,58,237,.12), rgba(124,58,237,.05));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.docs-search-input::-webkit-search-cancel-button:hover{
  border-color:rgba(124,58,237,.34);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2300ff41' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2.25 2.25 9.75 9.75M9.75 2.25 2.25 9.75'/%3E%3C/svg%3E") center/9px 9px no-repeat,
    linear-gradient(180deg, rgba(124,58,237,.18), rgba(124,58,237,.08));
}
.docs-search-input::placeholder{
  color:var(--text-dim);
}
.docs-search-results{
  position:absolute;
  top:calc(100% + .6rem);
  left:0;
  right:0;
  z-index:30;
  max-height:24rem;
  overflow:auto;
  background:var(--surface-alt);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  box-shadow:0 18px 36px rgba(0,0,0,.35);
}
.docs-search-results-list{
  list-style:none;
  padding:.45rem;
}
.docs-search-result{
  display:flex;
  flex-direction:column;
  gap:.3rem;
  width:100%;
  padding:.8rem .9rem;
  border:none;
  border-radius:10px;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.docs-search-result:hover,
.docs-search-result.is-active{
  background:rgba(124,58,237,.07);
}
.docs-search-result-title{
  color:var(--primary);
  font-size:.92rem;
  font-weight:700;
}
.docs-search-result-meta{
  color:var(--primary);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.docs-search-result-snippet{
  color:var(--text-muted);
  font-size:.84rem;
  line-height:1.55;
}
.docs-search-empty{
  padding:1rem;
  color:var(--text-dim);
  font-size:.88rem;
}
.docs-topbar-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:1.2rem;
}
.docs-topbar-links a{
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
}
.docs-topbar-links a:hover,
.docs-topbar-links a.is-active{color:var(--primary)}
.docs-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.docs-summary-card,
.docs-card{
  background:var(--surface-alt);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  padding:1.25rem 1.3rem;
  box-shadow:none;
}
.docs-summary-card h2,
.docs-card h3{
  color:var(--primary);
  font-size:1.05rem;
  letter-spacing:-.03em;
  margin-bottom:.65rem;
}
.docs-summary-card p,
.docs-card p{
  color:var(--text-muted);
  font-size:.95rem;
  line-height:1.65;
}
.docs-sidebar-card{
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  padding:1rem;
}
.docs-sidebar-card h2{
  color:var(--primary);
  font-size:.88rem;
  margin-bottom:.85rem;
  letter-spacing:-.03em;
}
.docs-toc{
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}
.docs-toc-group{
  display:flex;
  flex-direction:column;
  gap:.1rem;
}
.docs-toc-label{
  color:var(--text-dim);
  font-size:.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.16em;
  padding:0 .7rem;
  margin-bottom:.4rem;
}
.docs-toc a{
  color:var(--text-muted);
  font-size:.88rem;
  padding:.4rem .7rem;
  border-radius:6px;
  transition:color .15s ease,background-color .15s ease;
}
.docs-toc a:hover{color:var(--text)}
.docs-toc a.is-active{
  color:var(--text);
  background:rgba(124,58,237,.1);
}
.docs-command-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.docs-command-list li{display:flex;flex-direction:column;gap:.35rem}
.docs-command-list span{
  color:var(--text-muted);
  font-size:.82rem;
  line-height:1.6;
}
.docs-command-list code{
  width:100%;
  white-space:normal;
}
.docs-content{
  display:flex;
  flex-direction:column;
  gap:1.1rem;
  width:min(100%,960px);
  margin:0 auto;
  padding:1.75rem 0 3rem;
}
.docs-intro-section{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:.2rem 0 .1rem;
}
.docs-section{
  scroll-margin-top:110px;
  background:transparent;
  border:none;
  border-radius:0;
  padding:1rem 0 1.4rem;
  box-shadow:none;
}
.docs-section h2{
  color:var(--primary);
  font-size:2rem;
  letter-spacing:-.05em;
  margin-bottom:.7rem;
}
.docs-section h3{
  color:var(--text);
  font-size:1.08rem;
  letter-spacing:-.03em;
  margin:1.2rem 0 .7rem;
}
.docs-hero-copy{
  margin-bottom:1.25rem;
}
.docs-hero-copy h2{
  color:var(--primary);
  font-size:3rem;
  line-height:.95;
  letter-spacing:-.07em;
  margin:.25rem 0 .7rem;
}
.docs-section-tag{
  color:var(--primary);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.06em;
  margin-bottom:.35rem;
}
.docs-section-intro{
  color:var(--text-muted);
  max-width:58rem;
  line-height:1.7;
}
.docs-grid{
  display:grid;
  gap:1rem;
}
.docs-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.docs-list,
.docs-steps{
  padding-left:1.1rem;
}
.docs-list li,
.docs-steps li{
  color:var(--text-muted);
  margin-bottom:.7rem;
  line-height:1.75;
}
.docs-codeblock{
  margin:1rem 0 1.2rem;
  padding:1rem 1.1rem;
  background:var(--bg-deep);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  overflow-x:auto;
}
.docs-codeblock code,
.docs-section code,
.docs-sidebar code{
  color:var(--primary);
  font-family:"SF Mono",Menlo,Consolas,monospace;
  font-size:.86rem;
}
.docs-section code,
.docs-sidebar code{
  padding:.14rem .32rem;
  background:rgba(124,58,237,.08);
  border-radius:6px;
}
.docs-codeblock code{
  padding:0;
  background:none;
  border-radius:0;
  white-space:pre;
}
.docs-table-wrap{overflow-x:auto}
.docs-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}
.docs-table th,
.docs-table td{
  padding:.9rem .95rem;
  border-bottom:1px solid rgba(45,38,68,.14);
  text-align:left;
  vertical-align:top;
}
.docs-table th{
  color:var(--text);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.docs-table td{
  color:var(--text-muted);
  font-size:.94rem;
  line-height:1.7;
}
.docs-note{
  margin-top:1.1rem;
  padding:1rem 1.1rem;
  background:rgba(124,58,237,.06);
  border-left:2px solid var(--primary-strong);
  border-radius:0 14px 14px 0;
  color:var(--text-muted);
  line-height:1.75;
}
.docs-note strong{color:var(--text)}
.docs-note-warning{
  background:rgba(147,0,10,.14);
  border-left-color:var(--danger);
}
.docs-pills{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}
.docs-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:.35rem .8rem;
  background:rgba(124,58,237,.08);
  border:1px solid var(--border-soft);
  border-radius:999px;
  color:var(--primary);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Auth + dashboard */
.auth-section{padding:4.5rem 0}
.auth-card{
  max-width:440px;
  margin:0 auto;
  background:var(--surface-alt);
  border:1px solid rgba(45,38,68,.18);
  border-radius:var(--radius);
  padding:2.2rem;
  box-shadow:var(--shadow);
}
.auth-card h2{
  color:var(--primary);
  font-size:1.8rem;
  margin-bottom:1.4rem;
  text-align:center;
  letter-spacing:-.04em;
}
.form-group{margin-bottom:1rem}
.form-group label{
  display:block;
  margin-bottom:.4rem;
  color:var(--text-muted);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:0;
}
.form-group input{
  width:100%;
  padding:.8rem .95rem;
  background:var(--bg);
  border:1px solid rgba(45,38,68,.25);
  border-radius:var(--radius);
  color:var(--text);
  font-size:.95rem;
}
.form-group input:focus{
  outline:none;
  border-color:rgba(124,58,237,.45);
  box-shadow:0 0 0 3px rgba(124,58,237,.08);
}
.auth-card .btn{margin-top:.5rem}
.auth-switch{
  margin-top:1rem;
  text-align:center;
  color:var(--text-dim);
  font-size:.88rem;
}
.auth-switch a{color:var(--primary)}
.alert{
  padding:.8rem 1rem;
  margin-bottom:1rem;
  border-radius:var(--radius);
  font-size:.86rem;
}
.alert-error{
  background:rgba(147,0,10,.18);
  border:1px solid rgba(255,180,171,.3);
  color:var(--danger);
}

.dashboard-section{padding:4rem 0}
.dashboard-section h2{
  color:var(--primary);
  font-size:2rem;
  margin-bottom:1.25rem;
  letter-spacing:-.04em;
}
.dashboard-card{
  background:var(--surface-alt);
  border:1px solid rgba(45,38,68,.18);
  border-radius:var(--radius);
  padding:2rem;
  box-shadow:var(--shadow);
}
.dashboard-card h3{
  color:var(--primary);
  margin-bottom:.9rem;
  font-size:1.35rem;
}
.dashboard-card p{
  color:var(--text-muted);
  font-size:.95rem;
  margin-bottom:.8rem;
}
.dashboard-card form{margin-bottom:.8rem}
.dashboard-card pre{
  margin-bottom:.9rem;
  padding:.9rem 1rem;
  background:var(--bg);
  border:1px solid rgba(45,38,68,.18);
  border-radius:var(--radius);
  overflow-x:auto;
}
.dashboard-card code{
  color:var(--primary);
  font-family:"SF Mono",Menlo,Consolas,monospace;
  font-size:.85rem;
}
.cli-token-row{
  display:flex;
  align-items:flex-start;
  gap:.6rem;
  margin-bottom:.9rem;
}
.cli-token-row .cli-token-pre{
  flex:1;
  min-width:0;
  margin-bottom:0;
}
.cli-token-copy{flex-shrink:0}

/* Landing — section heading shared */
.landing-section-heading{
  max-width:42rem;
  margin:0 auto 3.5rem;
  text-align:center;
}
.landing-eyebrow{
  display:inline-block;
  color:var(--primary);
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:1rem;
  padding:.25rem .65rem;
  border:1px solid var(--border-soft);
  border-radius:999px;
  background:rgba(167,139,250,.05);
}
.landing-section-heading h2{
  color:var(--text);
  font-size:clamp(1.9rem,3.2vw,2.6rem);
  font-weight:600;
  letter-spacing:-.02em;
  line-height:1.15;
  margin-bottom:.9rem;
}
.landing-section-lede{
  color:var(--text-muted);
  font-size:1.05rem;
  max-width:36rem;
  margin:0 auto;
}

/* Features grid */
.landing-features{padding:6rem 0;border-top:1px solid var(--border)}
.landing-feature-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:1.25rem;
}
.landing-feature-card{grid-column:span 2}
.landing-feature-card--wide{grid-column:span 3}
.landing-feature-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:1.7rem;
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
.landing-feature-card:hover{
  border-color:rgba(167,139,250,.35);
  transform:translateY(-2px);
  background:var(--surface-alt);
}
.landing-feature-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.3rem .55rem;
  margin-bottom:1rem;
  background:rgba(124,58,237,.12);
  border:1px solid rgba(167,139,250,.25);
  border-radius:6px;
  color:var(--primary);
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
}
.landing-feature-card h3{
  color:var(--text);
  font-size:1.08rem;
  font-weight:600;
  margin-bottom:.55rem;
  letter-spacing:-.005em;
}
.landing-feature-card p{
  color:var(--text-muted);
  font-size:.94rem;
  line-height:1.6;
}
.landing-feature-card code{
  font-family:var(--font-mono);
  font-size:.86em;
  padding:.05rem .35rem;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius:4px;
  color:var(--primary);
}

/* Workflow steps */
.landing-workflow{
  padding:6rem 0;
  background:var(--bg-deep);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.landing-step-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.25rem;
}
.landing-step{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:1.7rem;
  position:relative;
}
.landing-step-num{
  display:inline-block;
  color:var(--primary);
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.18em;
  margin-bottom:1rem;
  padding:.15rem .5rem;
  border:1px solid var(--border-soft);
  border-radius:4px;
}
.landing-step h3{
  color:var(--text);
  font-size:1.08rem;
  font-weight:600;
  margin-bottom:.5rem;
}
.landing-step p{
  color:var(--text-muted);
  font-size:.94rem;
  margin-bottom:1rem;
}
.landing-step-code{
  background:#0e0e15;
  border:1px solid var(--border);
  border-radius:6px;
  padding:.7rem .9rem;
  overflow-x:auto;
  font-family:var(--font-mono);
  font-size:.82rem;
  color:var(--text-muted);
  white-space:pre;
}
.landing-step-code code{font-family:inherit;color:inherit}

/* Final CTA */
.landing-cta{padding:6rem 0 7rem}
.landing-cta-shell{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:3rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.landing-cta-shell::before{
  content:"";
  position:absolute;
  top:-50%;
  right:-10%;
  width:40rem;
  height:40rem;
  background:radial-gradient(closest-side,rgba(124,58,237,.2),transparent 70%);
  pointer-events:none;
}
.landing-cta-shell h2{
  position:relative;
  color:var(--text);
  font-size:clamp(1.6rem,2.4vw,2rem);
  font-weight:600;
  letter-spacing:-.01em;
  margin-bottom:.4rem;
}
.landing-cta-shell p{
  position:relative;
  color:var(--text-muted);
  max-width:32rem;
  font-size:.98rem;
}
.landing-cta-actions{
  position:relative;
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
}

@media (max-width:1100px){
  .docs-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .landing-hero-layout{grid-template-columns:1fr}
  .landing-hero-visual{justify-content:flex-start}
  .landing-terminal-shell{width:min(680px,100%)}
  .landing-module-grid{grid-template-columns:1fr}
  .landing-pricing-grid{grid-template-columns:1fr}
  .landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .landing-feature-card,.landing-feature-card--wide{grid-column:span 1}
  .landing-step-grid{grid-template-columns:1fr}
  .landing-cta-shell{flex-direction:column;align-items:flex-start}
}

@media (max-width:640px){
  .landing-feature-grid{grid-template-columns:1fr}
  .landing-cta-shell{padding:2rem}
}

@media (max-width:980px){
  body.docs-body{overflow:auto}
  body.docs-body main{
    height:auto;
    min-height:100vh;
  }
  .docs-app{
    width:100%;
    height:auto;
    min-height:100vh;
  }
  .docs-main{
    grid-template-columns:1fr;
  }
  .docs-rail{
    position:static;
    top:auto;
    height:auto;
    min-height:auto;
    overflow:visible;
    border-right:none;
    border-bottom:1px solid rgba(45,38,68,.16);
  }
  .docs-rail-inner{
    position:static;
    height:auto;
    max-height:none;
    overflow:visible;
  }
  .docs-page{
    height:auto;
    min-height:0;
    overflow:visible;
  }
  .docs-topbar{
    position:static;
    padding:1rem;
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .docs-topbar-links{justify-content:flex-start}
}

@media (max-width:820px){
  .nav-content{flex-direction:column;align-items:flex-start}
  .nav-brand-block,.nav-links,.footer-content{width:100%}
  .nav-brand-block,.footer-content{flex-direction:column;align-items:flex-start}
  .docs-shell{padding:0 1.25rem}
  .docs-grid-2,.docs-summary-grid{grid-template-columns:1fr}
  .landing-shell{padding:0 1.25rem}
  .landing-menu{display:none}
  .landing-nav{min-height:76px}
  .landing-hero{padding:2.5rem 0 4rem}
  .landing-status-banner{margin-bottom:1.4rem}
  .landing-module-card,.landing-pricing-card{padding:2rem}
  .landing-footer-grid{grid-template-columns:1fr}
  .landing-footer-bottom{flex-direction:column;align-items:flex-start}
}

@media (max-width:640px){
  .docs-content{padding:1rem}
  .docs-rail-inner{padding:1.25rem 1rem}
  .docs-summary-grid{grid-template-columns:1fr}
  .docs-grid-2{grid-template-columns:1fr}
  .docs-hero-copy h2{font-size:2.2rem}
  .docs-section{padding:1.45rem}
  .landing-nav-actions{gap:.5rem}
  .landing-nav-user{display:none}
  .landing-auth-cta{padding:.75rem 1rem;font-size:.68rem}
  .landing-hero-actions{flex-direction:column;align-items:stretch}
  .landing-primary-action,.landing-secondary-action{width:100%}
  .landing-section-heading{margin-bottom:2.5rem}
  .auth-card,.dashboard-card{padding:1.5rem}
  .container{padding:0 1rem}
}

/* Public snippet page */
.snippet-page{padding:3.5rem 1.5rem 4rem;min-height:calc(100vh - 84px);color:var(--text)}
.snippet-shell{max-width:1040px;margin:0 auto}
.snippet-card{
  background:#1a1a22;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.55);
}
.snippet-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  padding:1rem 1.25rem;
  background:rgba(255,255,255,.02);
  border-bottom:1px solid var(--border);
}
.snippet-card-head-left{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}
.snippet-card-head-right{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}
.snippet-lang-badge{
  display:inline-flex;
  align-items:center;
  padding:.35rem .8rem;
  background:rgba(124,58,237,.18);
  border:1px solid rgba(167,139,250,.3);
  border-radius:6px;
  color:var(--primary);
  font-family:var(--font-mono);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.snippet-slug{
  font-family:var(--font-mono);
  font-size:.82rem;
  color:var(--text-dim);
}
.snippet-time{
  font-size:.82rem;
  color:var(--text-dim);
}
.snippet-copy{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
  padding:.45rem .9rem;
  border-radius:6px;
  font-size:.85rem;
  font-weight:500;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease;
}
.snippet-copy:hover{border-color:var(--primary-strong);background:var(--surface-alt)}
.snippet-copy.is-copied{border-color:#86efac;color:#86efac}
.snippet-copy svg{flex-shrink:0}
.snippet-code{
  margin:0;
  padding:1.4rem 1.5rem;
  overflow:auto;
  font-family:var(--font-mono);
  font-size:.9rem;
  line-height:1.6;
  color:var(--text);
  background:#0e0e14;
  border:none;
  border-radius:0;
}
.snippet-code code,
.snippet-highlighted{font-family:inherit;font-size:inherit;line-height:inherit}
.snippet-source{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.snippet-footnote{margin-top:1rem;font-size:.8rem;color:var(--text-dim);text-align:center}
